Skip to content

Commit

Permalink
Update sharpy_tests.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
ben-l-p authored Oct 30, 2023
1 parent 50f9c9b commit 438d884
Showing 1 changed file with 13 additions and 8 deletions.
21 changes: 13 additions & 8 deletions .github/workflows/sharpy_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,14 @@ jobs:
with:
version: 10
platform: x64
- name: Setup conda
- name: Set up Conda
uses: s-weigand/setup-conda@v1
with:
python-version: 3.9
- name: Setup Mamba
uses: mamba-org/setup-micromamba@v1
with:
python-version: 3.9
- name: Pre-Install dependencies
run: |
gfortran --version
Expand All @@ -43,16 +47,17 @@ jobs:
bash miniconda.sh -b -p $HOME/miniconda
export PATH="$HOME/miniconda/bin:$PATH"
hash -r
conda config --set always_yes yes --set changeps1 no
# conda config --append channels conda-forge
conda update --name base conda
conda list --name base conda
conda init bash
conda install mamba -n base -c conda-forge
mamba config --set always_yes yes --set changeps1 no
# mamba config --append channels mamba-forge
mamba update --name base mamba
mamba list --name base mamba
mamba init bash
hash -r
export QT_QPA_PLATFORM='offscreen'
sudo apt install libeigen3-dev
conda env create -f utils/environment.yml
conda init bash
mamba env create -f utils/environment.yml
mamba init bash
source activate sharpy
git submodule init
git submodule update
Expand Down

0 comments on commit 438d884

Please sign in to comment.