|
4 | 4 | push: |
5 | 5 | branches: [ "master" ] |
6 | 6 | pull_request: |
| 7 | + branches: [ "master" ] |
7 | 8 | workflow_dispatch: |
8 | 9 |
|
9 | 10 | jobs: |
@@ -70,33 +71,41 @@ jobs: |
70 | 71 | - name: make install |
71 | 72 | run: CC="${{ matrix.compiler }}" make prefix=$(pwd)/install install |
72 | 73 |
|
73 | | -# windows-x86-64-cross: |
74 | | -# runs-on: windows-latest |
75 | | -# strategy: |
76 | | -# matrix: |
77 | | -# include: |
78 | | -# - { sys: mingw64, base: x86_64, env: cross-mingwarm64, prefix: aarch64-w64-mingw32, compiler: gcc } |
79 | | -# # - { sys: mingw64, base: x86_64, env: cross, prefix: aarch64-w64-mingw32, compiler: clang } |
80 | | -# defaults: |
81 | | -# run: |
82 | | -# shell: msys2 {0} |
83 | | -# steps: |
84 | | -# - uses: actions/checkout@v4 |
85 | | -# - uses: msys2/setup-msys2@v2 |
86 | | -# with: |
87 | | -# msystem: ${{matrix.sys}} |
88 | | -# install: > |
89 | | -# mingw-w64-${{matrix.base}}-openssl |
90 | | -# mingw-w64-${{matrix.base}}-qemu |
91 | | -# make |
92 | | -# mingw-w64-${{matrix.env}}-${{matrix.compiler}} |
93 | | -# mingw-w64-${{matrix.env}}-binutils |
94 | | -# mingw-w64-${{matrix.env}}-winpthreads |
95 | | -# - name: OS Version |
96 | | -# run: uname -s |
97 | | -# - name: configure |
98 | | -# run: cp config.mk.dist config.mk |
99 | | -# - name: make |
100 | | -# run: CC="/opt/bin/${{matrix.prefix}}-${{matrix.compiler}}.exe" CROSS_COMPILE=/opt/bin/${{matrix.prefix}}- make -j |
| 74 | + windows-x86-64-cross: |
| 75 | + runs-on: windows-latest |
| 76 | + strategy: |
| 77 | + matrix: |
| 78 | + include: |
| 79 | + - { sys: mingw64, base: x86_64, env: cross-mingwarm64, prefix: aarch64-w64-mingw32, compiler: gcc } |
| 80 | + # - { sys: mingw64, base: x86_64, env: cross, prefix: aarch64-w64-mingw32, compiler: clang } |
| 81 | + defaults: |
| 82 | + run: |
| 83 | + shell: msys2 {0} |
| 84 | + steps: |
| 85 | + - uses: actions/checkout@v4 |
| 86 | + - uses: msys2/setup-msys2@v2 |
| 87 | + with: |
| 88 | + msystem: ${{matrix.sys}} |
| 89 | + install: > |
| 90 | + mingw-w64-${{matrix.base}}-openssl |
| 91 | + mingw-w64-${{matrix.base}}-qemu |
| 92 | + make |
| 93 | + mingw-w64-${{matrix.base}}-gcc |
| 94 | + mingw-w64-${{matrix.base}}-mpfr |
| 95 | + mingw-w64-${{matrix.base}}-gmp |
| 96 | + mingw-w64-${{matrix.base}}-mpc |
| 97 | + mingw-w64-${{matrix.base}}-binutils |
| 98 | + mingw-w64-${{matrix.env}}-${{matrix.compiler}} |
| 99 | + mingw-w64-${{matrix.env}}-binutils |
| 100 | + mingw-w64-${{matrix.env}}-winpthreads |
| 101 | + - name: OS Version |
| 102 | + run: uname -s |
| 103 | + - name: configure |
| 104 | + run: cp config.mk.dist config.mk |
| 105 | + - name: make |
| 106 | + run: CC="/opt/bin/${{matrix.prefix}}-${{matrix.compiler}}.exe" HOST_CC=/${{matrix.sys}}/bin/${{matrix.compiler}} CROSS_COMPILE=/opt/bin/${{matrix.prefix}}- make -j |
101 | 107 | # - name: make check |
102 | | -# run: CC="/opt/bin/${{matrix.prefix}}-${{matrix.compiler}}.exe" CROSS_COMPILE=/opt/bin/${{matrix.prefix}}- make check -j |
| 108 | +# run: CC="/opt/bin/${{matrix.prefix}}-${{matrix.compiler}}.exe" HOST_CC=/${{matrix.sys}}/bin/${{matrix.compiler}} CROSS_COMPILE=/opt/bin/${{matrix.prefix}}- make check -j |
| 109 | + - name: make install |
| 110 | + run: CC="/opt/bin/${{matrix.prefix}}-${{matrix.compiler}}.exe" HOST_CC=/${{matrix.sys}}/bin/${{matrix.compiler}} CROSS_COMPILE=/opt/bin/${{matrix.prefix}}- make prefix=$(pwd)/install install |
| 111 | + |
0 commit comments