Browse Source

Add a cross-compiled 64bit windows build to CI

pull/1137/head
Hamish Coleman 1 year ago
parent
commit
84dac6220b
  1. 19
      .github/workflows/tests.yml

19
.github/workflows/tests.yml

@ -700,16 +700,21 @@ jobs:
strategy: strategy:
fail-fast: true fail-fast: true
matrix: matrix:
arch: include:
- arm-linux-gnueabi - arch: arm-linux-gnueabi
- aarch64-linux-gnu - arch: aarch64-linux-gnu
# Unfortunately, the ubnuts mingw package names dont follow the
# same naming convention as every other cross-compiler.
- arch: x86_64-w64-mingw32
package_suffix: mingw-w64-x86-64
# I assume these architectures produce working code, but this has # I assume these architectures produce working code, but this has
# not been directly confirmed. # not been directly confirmed.
# They are compiled dynamically against normal libc, so will not # They are compiled dynamically against normal libc, so will not
# work on openwrt. # work on openwrt.
- mips-linux-gnu - arch: mips-linux-gnu
- mipsel-linux-gnu - arch: mipsel-linux-gnu
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
@ -724,8 +729,8 @@ jobs:
run: | run: |
sudo apt-get update sudo apt-get update
sudo apt-get install \ sudo apt-get install \
binutils-${{ matrix.arch }} \ binutils-${{ matrix.package_suffix || matrix.arch }} \
gcc-${{ matrix.arch }} gcc-${{ matrix.package_suffix || matrix.arch }}
- name: Configure and Build - name: Configure and Build
shell: bash shell: bash

Loading…
Cancel
Save