-
Notifications
You must be signed in to change notification settings - Fork 304
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Taiju Yamada <[email protected]>
- Loading branch information
1 parent
9c26a06
commit aac0917
Showing
1 changed file
with
51 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -52,6 +52,57 @@ jobs: | |
- name: Run extended tests | ||
run: bash tools/test_extended.sh | ||
|
||
run_tests_mingw_linux_64: | ||
needs: check_format | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
- name: Install build dependencies (Linux) | ||
run: sudo apt install nasm mingw-w64 | ||
if: runner.os == 'Linux' | ||
- name: Build | ||
shell: bash | ||
run: | | ||
make -j $(nproc) -f Makefile.unx programs/igzip tests arch=mingw host_cpu=x86_64 | ||
# wine does not seem available, hence cannot run tests. | ||
|
||
run_tests_mingw_linux_32: | ||
needs: check_format | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
- name: Install build dependencies (Linux) | ||
run: sudo apt install nasm mingw-w64 | ||
if: runner.os == 'Linux' | ||
- name: Build | ||
shell: bash | ||
run: | | ||
make -j $(nproc) -f Makefile.unx programs/igzip tests arch=mingw host_cpu=base_aliases CC=i686-w64-mingw32-gcc | ||
run_tests_mingw_windows_64: | ||
needs: check_format | ||
runs-on: windows-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
- name: Install nasm | ||
uses: ilammy/[email protected] | ||
- name: Build | ||
shell: bash | ||
run: | | ||
make -j $(nproc) -f Makefile.unx programs/igzip tests SIM= arch=mingw host_cpu=x86_64 AR=x86_64-w64-mingw32-gcc-ar | ||
- name: Run tests | ||
shell: bash | ||
run: | | ||
# autoconf is missing, hence simulates test_checks.sh | ||
make -j $(nproc) -f Makefile.unx check D=TEST_SEED=0 SIM= arch=mingw host_cpu=x86_64 AR=x86_64-w64-mingw32-gcc-ar | ||
- name: Run extended tests | ||
run: | | ||
# simulates test_extended.sh | ||
make -j $(nproc) -f Makefile.unx perf D=TEST_SEED=0 SIM= arch=mingw host_cpu=x86_64 AR=x86_64-w64-mingw32-gcc-ar | ||
make -j $(nproc) -f Makefile.unx test D=TEST_SEED=0 SIM= arch=mingw host_cpu=x86_64 AR=x86_64-w64-mingw32-gcc-ar | ||
# seems like i686-w64-mingw32-gcc is not available on windows runner. | ||
|
||
run_tests_windows: | ||
needs: check_format | ||
runs-on: windows-latest | ||
|