Skip to content

Commit 6e79c6d

Browse files
committed
Add GH Actions with ROOT Conda nightly builds
1 parent 710d537 commit 6e79c6d

File tree

8 files changed

+45
-100
lines changed

8 files changed

+45
-100
lines changed

.github/workflows/ci.yaml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
branches:
9+
- master
10+
11+
jobs:
12+
run:
13+
runs-on: ${{ matrix.os }}
14+
15+
strategy:
16+
fail-fast: false
17+
matrix:
18+
os: [ubuntu-latest, macos-latest]
19+
python-version: [3.6, 3.7, 3.8]
20+
21+
steps:
22+
- uses: actions/checkout@v2
23+
- name: Set up Python ${{ matrix.python-version }} (Miniconda)
24+
uses: goanpeca/setup-miniconda@v1
25+
with:
26+
auto-update-conda: true
27+
python-version: ${{ matrix.python-version }}
28+
channels: conda-forge
29+
30+
- name: Conda install dependencies
31+
run: conda create -n root-nightly -y -c https://root.cern/download/conda-nightly/latest -c conda-forge root-nightly cmake pytest pytest-benchmark pytest-csv numpy numba
32+
run: conda activate root-nightly
33+
34+
- name: Configure and build
35+
run: |
36+
mkdir -p build && cd build
37+
$CONDA/bin/cmake ..
38+
cmake --build .
39+
40+
- name: Run benchmarks
41+
shell: bash
42+
run: |
43+
export PYTHONHOME=$CONDA
44+
cd build
45+
$CONDA/bin/ctest -V

.travis/configure.sh

Lines changed: 0 additions & 26 deletions
This file was deleted.

.travis/coveralls.sh

Lines changed: 0 additions & 14 deletions
This file was deleted.

.travis/lcov-info-part1.sh

Lines changed: 0 additions & 9 deletions
This file was deleted.

.travis/lcov-info-part2.sh

Lines changed: 0 additions & 8 deletions
This file was deleted.

.travis/lcov-part1.sh

Lines changed: 0 additions & 9 deletions
This file was deleted.

.travis/lcov-part2.sh

Lines changed: 0 additions & 8 deletions
This file was deleted.

.travis/rootgcno.sh

Lines changed: 0 additions & 26 deletions
This file was deleted.

0 commit comments

Comments
 (0)