Commit 0bc6bdf6 authored by muyangli's avatar muyangli
Browse files

update

parent c4c77d24
...@@ -10,17 +10,32 @@ jobs: ...@@ -10,17 +10,32 @@ jobs:
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v4
with:
submodules: true
- name: Set up Python - name: Set up Python
run: | run: |
source $(conda info --base)/etc/profile.d/conda.sh
which python which python
echo "Setting up Python with Conda" echo "Setting up Python with Conda"
conda create -n test_env python=3.11 -y conda create -n test_env python=3.11 -y
conda activate test_env || { echo "Failed to activate conda env"; exit 1; }
- name: see what python version is - name: Install dependencies
run: | run: |
source $(conda info --base)/etc/profile.d/conda.sh
conda activate test_env || { echo "Failed to activate conda env"; exit 1; }
which python which python
conda install -c conda-forge gxx=11 gcc=11 conda install -c conda-forge gxx=11 gcc=11
conda activate test_env || { echo "Failed to activate conda env"; exit 1; }
echo "Installing dependencies"
pip install
clean-up:
runs-on: self-hosted
needs: set-up-test-env
steps:
- name: Clean up
run: |
echo $PWD
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment