Commit c4c77d24 authored by muyangli's avatar muyangli
Browse files

update

parent c83a0670
...@@ -4,11 +4,13 @@ on: ...@@ -4,11 +4,13 @@ on:
workflow_dispatch: workflow_dispatch:
jobs: jobs:
ping-runner: set-up-test-env:
runs-on: self-hosted runs-on: self-hosted
steps: steps:
- name: Check runner is online - name: Checkout
run: echo "Self-hosted runner is online!" uses: actions/checkout@v4
- name: Set up Python - name: Set up Python
run: | run: |
which python which python
...@@ -16,8 +18,9 @@ jobs: ...@@ -16,8 +18,9 @@ jobs:
conda create -n test_env python=3.11 -y conda create -n test_env python=3.11 -y
- name: see what python version is - name: see what python version is
shell: bash -l {0}
run: | run: |
conda activate test_env 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
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