Skip to content

Commit

Permalink
use conda environment
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhar-abbas committed Mar 29, 2021
1 parent 05786d0 commit 64a754f
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/CI_rosco.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,28 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v2

- name: Setup environment
uses: conda-incubator/setup-miniconda@v2
with:
miniconda-version: "latest"
channels: conda-forge, general
auto-update-conda: true
python-version: 3.8
environment-file: environment.yml

# Install compilers
- name: Add dependencies ubuntu specific
if: false == contains( matrix.os, 'windows')
run: |
conda install -y compilers
# Install compilers
- name: Add dependencies ubuntu specific
if: true == contains( matrix.os, 'windows')
shell: bash -l {0}
run: |
conda install -y m2w64-toolchain
# Install ROSCO toolbox
# Install ROSCO
- name: Compile ROSCO
shell: pwsh
run: |
Expand Down

0 comments on commit 64a754f

Please sign in to comment.