Skip to content

Commit

Permalink
mingw flag
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhar-abbas committed Mar 30, 2021
1 parent 64a754f commit 9d3f2c0
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions .github/workflows/CI_rosco.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,23 +28,35 @@ jobs:
environment-file: environment.yml

# Install compilers
- name: Add dependencies ubuntu specific
- name: Add dependencies linux
if: false == contains( matrix.os, 'windows')
shell: pwsh
run: |
conda install -y compilers
- name: Add dependencies ubuntu specific
- name: Add dependencies windows
if: true == contains( matrix.os, 'windows')
shell: bash -l {0}
run: |
conda install -y m2w64-toolchain
# Install ROSCO
- name: Compile ROSCO
# Install ROSCO linux
- name: Compile ROSCO linux
if: false == contains( matrix.os, 'windows')
shell: pwsh
run: |
mkdir build
cd build
cmake ..
make install
# Install ROSCO windows
- name: Compile ROSCO windows
if: true == contains( matrix.os, 'windows')
shell: pwsh
run: |
mkdir build
cd build
cmake .. -G "MinGW Makefiles"
make install

0 comments on commit 9d3f2c0

Please sign in to comment.