|
58 | 58 | - name: Run extended tests
|
59 | 59 | run: bash tools/test_extended.sh
|
60 | 60 |
|
| 61 | + run_tests_mingw_linux_64: |
| 62 | + needs: check_format |
| 63 | + runs-on: ubuntu-latest |
| 64 | + steps: |
| 65 | + |
| 66 | + - name: Install build dependencies (Linux) |
| 67 | + run: sudo apt install nasm mingw-w64 |
| 68 | + - name: Build |
| 69 | + shell: bash |
| 70 | + run: | |
| 71 | + make -j $(nproc) -f Makefile.unx programs/igzip tests arch=mingw host_cpu=x86_64 |
| 72 | + # wine does not seem available, hence cannot run tests. |
| 73 | + |
| 74 | + run_tests_mingw_linux_32: |
| 75 | + needs: check_format |
| 76 | + runs-on: ubuntu-latest |
| 77 | + steps: |
| 78 | + |
| 79 | + - name: Install build dependencies (Linux) |
| 80 | + run: sudo apt install nasm mingw-w64 |
| 81 | + - name: Build |
| 82 | + shell: bash |
| 83 | + run: | |
| 84 | + make -j $(nproc) -f Makefile.unx programs/igzip tests arch=mingw host_cpu=base_aliases CC=i686-w64-mingw32-gcc |
| 85 | +
|
| 86 | + run_tests_mingw_windows_64: |
| 87 | + needs: check_format |
| 88 | + runs-on: windows-latest |
| 89 | + steps: |
| 90 | + |
| 91 | + - name: Install nasm |
| 92 | + |
| 93 | + - name: Build |
| 94 | + shell: bash |
| 95 | + run: | |
| 96 | + make -j $(nproc) -f Makefile.unx programs/igzip tests SIM= arch=mingw host_cpu=x86_64 AR=x86_64-w64-mingw32-gcc-ar |
| 97 | + - name: Run tests |
| 98 | + shell: bash |
| 99 | + run: | |
| 100 | + # autoconf is missing, hence simulates test_checks.sh |
| 101 | + 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 |
| 102 | + - name: Run extended tests |
| 103 | + shell: bash |
| 104 | + run: | |
| 105 | + # simulates test_extended.sh |
| 106 | + 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 |
| 107 | + 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 |
| 108 | +
|
| 109 | + # seems like i686-w64-mingw32-gcc is not available on windows runner. |
| 110 | + |
61 | 111 | run_tests_windows:
|
62 | 112 | needs: check_format
|
63 | 113 | runs-on: windows-latest
|
|
0 commit comments