Skip to content

Commit

Permalink
Merge pull request #894 from bitraid/fix-build
Browse files Browse the repository at this point in the history
Fix msys2 ucrt debug build
  • Loading branch information
alabuzhev authored Dec 27, 2024
2 parents 6e5828a + 0c3a1c1 commit e652072
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@ jobs:
run: |
echo "DEBUG=1" >> "$GITHUB_ENV"
echo "USE_LLD=1" >> "$GITHUB_ENV"
test "${{ matrix.sys }}" = "ucrt64" -o "${{ matrix.sys }}" = "clang64" && echo "USER_LIBS=-lucrtbased" >> "$GITHUB_ENV" || true
pacboy --noconfirm -S --needed lld:p
- name: Build Far
Expand Down Expand Up @@ -273,11 +274,7 @@ jobs:
run: |
echo "DEBUG=1" >> "$GITHUB_ENV"
echo "USE_LLD=1" >> "$GITHUB_ENV"
- name: Set more environment for debug build
if: matrix.c_lib == 'ucrt' && matrix.build_type == 'Debug'
run: |
echo "USER_LIBS=-lucrtbased" >> "$GITHUB_ENV"
test "${{ matrix.c_lib }}" = "ucrt" && echo "USER_LIBS=-lucrtbased" >> "$GITHUB_ENV" || true
- name: Build far
working-directory: far
Expand Down

0 comments on commit e652072

Please sign in to comment.