Skip to content

Commit

Permalink
Split setup again and but still install fypp as msys2 package on mingw
Browse files Browse the repository at this point in the history
  • Loading branch information
minhqdao committed Aug 4, 2024
1 parent 1fd326c commit a5e9e38
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion .github/workflows/ci_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,9 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Setup environment
- name: Setup MinGW native environment
uses: msys2/setup-msys2@v2
if: contains(matrix.msystem, 'MINGW')
with:
msystem: ${{ matrix.msystem }}
update: false
Expand All @@ -36,6 +37,25 @@ jobs:
mingw-w64-${{ matrix.arch }}-python-fypp
mingw-w64-${{ matrix.arch }}-cmake
mingw-w64-${{ matrix.arch }}-ninja
- name: Setup msys POSIX environment
uses: msys2/setup-msys2@v2
if: contains(matrix.msystem, 'MSYS')
with:
msystem: MSYS
update: false
install: >-
git
mingw-w64-x86_64-gcc
mingw-w64-x86_64-gcc-fortran
python
python-pip
cmake
ninja
- name: Install fypp
if: contains(matrix.msystem, 'MSYS')
run: pip install fypp

- run: >-
PATH=$PATH:/mingw64/bin/ cmake
Expand Down

0 comments on commit a5e9e38

Please sign in to comment.