From 286f31252d101443a541287e3709ed3b509f162f Mon Sep 17 00:00:00 2001 From: amstokely Date: Mon, 27 Nov 2023 10:34:22 -0700 Subject: [PATCH] feat: enabled self-hosted CI. --- .github/workflows/netsci_CI.yml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/.github/workflows/netsci_CI.yml b/.github/workflows/netsci_CI.yml index 0b989e6..5514585 100644 --- a/.github/workflows/netsci_CI.yml +++ b/.github/workflows/netsci_CI.yml @@ -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: @@ -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 @@ -33,4 +30,4 @@ jobs: cd tests/cuarray/python pytest cd ../../netsci/python - pytest + pytest \ No newline at end of file