-
Notifications
You must be signed in to change notification settings - Fork 1
40 lines (36 loc) · 1001 Bytes
/
CI.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: CI
env: {}
on:
push:
pull_request:
branches:
- main
schedule:
- cron: "00 17 * * *"
workflow_dispatch:
jobs:
build-and-test-self-hosted:
runs-on: self-hosted
strategy:
fail-fast: false
matrix:
python-version: ["3.8"]
steps:
- name: Check out source code
uses: actions/checkout@v2
with:
fetch-depth: 0
# install deps and build
- name: install / build
run: |
eval "$(/home/docker/miniconda3/bin/conda shell.bash hook)"
conda remove -n testenv --all
conda create -n testenv python=${{ matrix.python-version }}
conda activate testenv
conda install pytest pytest-cov coveralls openmpi mcvine-core=1.4.9
python -c "import matplotlib"
mcvine
conda install numba=0.53.1 cupy cudatoolkit=11.2.2
python setup.py sdist
pip install --no-deps .
python -m "mcvine.acc.patch_numba"