From dfbe7807c1a764086b44a2c16759197dfcb6e9d8 Mon Sep 17 00:00:00 2001 From: DinoBektesevic Date: Tue, 20 Dec 2022 13:51:07 -0800 Subject: [PATCH] Try using setup miniconda action instead. See github.com/actions/setup-python/issues/162 --- .github/workflows/test_build.yaml | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/.github/workflows/test_build.yaml b/.github/workflows/test_build.yaml index 61bd5023e..94abba151 100644 --- a/.github/workflows/test_build.yaml +++ b/.github/workflows/test_build.yaml @@ -3,25 +3,26 @@ on: push: branches: - ci +env: + CONDA: /epyc/opt/anaconda-2019 jobs: test-build: + name: Test build runs-on: self-hosted + defaults: + run: + shell: bash -el {0} steps: - - name: Link to a more modern git - run: echo "$HOME/.local/bin" >> $GITHUB_PATH + - name: Get newer git + run: | + echo `which conda` + conda info + conda init bash -d -v - name: Checkout code uses: actions/checkout@v3 with: - submodules: recursive - - name: Set-up Python - uses: actions/setup-python@v4 - with: - python-version: '3.10' + submodules: recursive - name: Setup nvcc run: echo "/usr/local/cuda-11.8/bin" >> $GITHUB_PATH - name: Build KBMoD run: python -m pip install . - - - - \ No newline at end of file