Skip to content

Commit

Permalink
Fix github action for windows build
Browse files Browse the repository at this point in the history
The workflow build.yml still used --without-axtls, which we dropped
from mingw-dist.sh.

Update build.yml, and also we allow (but ignore) the option in mingw-dist.sh
so that the existing scripts won't suddenly fail.
  • Loading branch information
shirok committed Nov 22, 2023
1 parent d1114a2 commit bc53e7d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ jobs:
run: |
gcc -v
./DIST gen
src/mingw-dist.sh --without-axtls
src/mingw-dist.sh
- name: Test
shell: msys2 {0}
run: |
Expand Down
1 change: 1 addition & 0 deletions src/mingw-dist.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ while [ "$#" -gt 0 ]; do
--with-mbedtls) MBEDTLS=yes; shift;;
--with-mbedtls=dll) MBEDTLS=dll; shift;;
--with-zip) ZIP_ARCHIVE=yes; shift;;
--without-axtls) shift;; # Ignore this not to reject legacy scripts
--skip-config) SKIP_CONFIG=yes; shift;;
-*)
echo "Options:"
Expand Down

0 comments on commit bc53e7d

Please sign in to comment.