Skip to content

Commit

Permalink
Add a cross-compiled 64bit windows build to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
hamishcoleman committed Jul 2, 2023
1 parent e16911d commit 84dac62
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -700,16 +700,21 @@ jobs:
strategy:
fail-fast: true
matrix:
arch:
- arm-linux-gnueabi
- aarch64-linux-gnu
include:
- arch: arm-linux-gnueabi
- 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
# not been directly confirmed.
# They are compiled dynamically against normal libc, so will not
# work on openwrt.
- mips-linux-gnu
- mipsel-linux-gnu
- arch: mips-linux-gnu
- arch: mipsel-linux-gnu

steps:
- uses: actions/checkout@v3
Expand All @@ -724,8 +729,8 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install \
binutils-${{ matrix.arch }} \
gcc-${{ matrix.arch }}
binutils-${{ matrix.package_suffix || matrix.arch }} \
gcc-${{ matrix.package_suffix || matrix.arch }}
- name: Configure and Build
shell: bash
Expand Down

0 comments on commit 84dac62

Please sign in to comment.