Skip to content

Commit

Permalink
Try using setup miniconda action instead. See github.com/actions/setu…
Browse files Browse the repository at this point in the history
  • Loading branch information
DinoBektesevic committed Jan 10, 2023
1 parent fd06d59 commit dfbe780
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions .github/workflows/test_build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 .




0 comments on commit dfbe780

Please sign in to comment.