Skip to content

feat: enabled self-hosted CI. #88

feat: enabled self-hosted CI.

feat: enabled self-hosted CI. #88

Workflow file for this run

name: netcalc
on: [push]
jobs:
run:
runs-on: [self-hosted]
defaults:
run:
shell: bash -l {0}
env:
repo_token: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v2
- name: Setup anaconda

Check failure on line 13 in .github/workflows/netsci_CI.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/netsci_CI.yml

Invalid workflow file

You have an error in your yaml syntax on line 13
uses: actions/setup-python@v2
with:
python-version: 3.10.5
- name: Install netsci dependencies
run: |
conda install -c conda-forge swig boost numpy cmake pytest
- name: build
run: |
mkdir build
cd build
cmake .. -DCONDA_DIR=$CONDA_PREFIX
cmake --build . -j
make python
- name: ctest
run: |
cd build
ctest
- name: pytest
run: |
cd tests/cuarray/python
pytest
cd ../../netsci/python
pytest