Skip to content

Commit

Permalink
feat: enabled self-hosted CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
amstokely committed Nov 27, 2023
1 parent 75d3dc1 commit 286f312
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/netsci_CI.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
name: netcalc
name: netsci
on: [push]
jobs:
run:
runs-on: [self-hosted]
defaults:
run:
shell: bash -l {0}
runs-on: [self-hosted, gpu]
env:
repo_token: ${{ secrets.GITHUB_TOKEN }}
steps:
Expand All @@ -14,9 +11,9 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: 3.10.5
- name: Install netsci dependencies
run: |
conda install -c conda-forge swig boost numpy pytest
conda install -c anaconda cmake
conda install -c conda-forge swig boost numpy cmake pytest
- name: build
run: |
mkdir build
Expand All @@ -33,4 +30,4 @@ jobs:
cd tests/cuarray/python
pytest
cd ../../netsci/python
pytest
pytest

0 comments on commit 286f312

Please sign in to comment.