Skip to content

Commit

Permalink
set env after for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
danpf committed Nov 15, 2023
1 parent c2591a3 commit f58be7c
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,14 @@ jobs:
submodules: true
fetch-depth: 0

- name: install mingw & deps
uses: msys2/setup-msys2@v2
with:
update: true
install: >-
cmake
if: matrix.os == 'windows-latest'

- name: Set environment list variables
run: |
env_vars="${{ matrix.env_list }}"
Expand All @@ -72,14 +80,6 @@ jobs:
if: matrix.os == 'windows-latest'
run: echo "CMAKE_GENERATOR=MinGW Makefiles" >> $GITHUB_ENV

- name: install mingw & deps
uses: msys2/setup-msys2@v2
with:
update: true
install: >-
cmake
if: matrix.os == 'windows-latest'

- name: Install Dependencies
run: |
if [[ "${{ matrix.env_list }}" = "ARCH=x86" ]]; then
Expand Down

0 comments on commit f58be7c

Please sign in to comment.