Skip to content

Commit

Permalink
Update windows.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
substring authored Nov 24, 2024
1 parent 3e86728 commit 8c406df
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,21 +39,20 @@ jobs:
shell: msys2 {0}
id: vars
run: |
echo "nbproc=${nbproc}" >> $GITHUB_OUTPUT
fe_version=
[[ ${GITHUB_REF} =~ ^refs/tags/* ]] && fe_version="${GITHUB_REF#refs/*/}"
echo "fe_version=${fe_version}" >> $GITHUB_OUTPUT
- name: Build AM+
shell: msys2 {0}
run: |
make -C am USE_SYSTEM_SFML=1 -j${{ steps.vars.outputs.nbproc }} VERBOSE=1 FE_VERSION=${{ steps.vars.outputs.fe_version }} ${{ matrix.make_env }}
make -C am USE_SYSTEM_SFML=1 VERBOSE=1 FE_VERSION=${{ steps.vars.outputs.fe_version }} -j$(nproc) ${{ matrix.make_env }}
- name: Build AM+ (console)
shell: msys2 {0}
run: |
make -C am smallclean
make -C am USE_SYSTEM_SFML=1 -j${{ steps.vars.outputs.nbproc }} VERBOSE=1 FE_VERSION=${{ steps.vars.outputs.fe_version }} ${{ matrix.make_env }} WINDOWS_CONSOLE=1
make -C am WINDOWS_CONSOLE=1 USE_SYSTEM_SFML=1 VERBOSE=1 FE_VERSION=${{ steps.vars.outputs.fe_version }} -j$(nproc) ${{ matrix.make_env }}
- name: Prepare artifacts
shell: msys2 {0}
Expand Down

0 comments on commit 8c406df

Please sign in to comment.