-
-
Notifications
You must be signed in to change notification settings - Fork 152
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add armv6, armv7 and riscv64 to multiarch CI
- Loading branch information
Showing
1 changed file
with
13 additions
and
8 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 |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
# actively supported, but source code support for this is nice to have. We | ||
# don't do any releases from here. | ||
|
||
name: Debian Multiarch | ||
name: Multiarch | ||
|
||
# Run CI only on changes to main branch, or any PR to main. Do not run CI on | ||
# any other branch. Also, skip any non-source changes from running on CI | ||
|
@@ -17,7 +17,7 @@ on: | |
- '*.md' | ||
- '.github/workflows/*.yml' | ||
# re-include current file to not be excluded | ||
- '!.github/workflows/build-debian-multiarch.yml' | ||
- '!.github/workflows/build-multiarch.yml' | ||
|
||
pull_request: | ||
branches: main | ||
|
@@ -29,22 +29,27 @@ on: | |
- '*.md' | ||
- '.github/workflows/*.yml' | ||
# re-include current file to not be excluded | ||
- '!.github/workflows/build-debian-multiarch.yml' | ||
- '!.github/workflows/build-multiarch.yml' | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }}-debian-multiarch | ||
group: ${{ github.workflow }}-${{ github.ref }}-multiarch | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
build-multiarch: | ||
name: Debian (Bullseye - 11) [${{ matrix.arch }}] | ||
name: ${{ matrix.arch }} [${{ matrix.distro }}] | ||
runs-on: ubuntu-22.04 | ||
|
||
strategy: | ||
fail-fast: false # if a particular matrix build fails, don't skip the rest | ||
matrix: | ||
# maybe more things could be added in here in the future (if needed) | ||
arch: [s390x, ppc64le] | ||
include: | ||
- { arch: s390x, distro: bullseye } | ||
- { arch: ppc64le, distro: bullseye } | ||
- { arch: armv6, distro: bullseye } | ||
- { arch: armv7, distro: bullseye } | ||
- { arch: riscv64, distro: ubuntu22.04 } | ||
|
||
steps: | ||
- uses: actions/[email protected] | ||
|
@@ -54,7 +59,7 @@ jobs: | |
id: build | ||
with: | ||
arch: ${{ matrix.arch }} | ||
distro: bullseye | ||
distro: ${{ matrix.distro }} | ||
|
||
# Not required, but speeds up builds | ||
githubToken: ${{ github.token }} | ||
|
@@ -77,7 +82,7 @@ jobs: | |
install: | | ||
apt-get update --fix-missing | ||
apt-get upgrade -y | ||
apt-get install libsdl2-dev libsdl2-image-dev libsdl2-mixer-dev libsdl2-ttf-dev libfreetype6-dev libportmidi-dev libjpeg-dev fontconfig -y | ||
apt-get install libsdl2-dev libsdl2-image-dev libsdl2-mixer-dev libsdl2-ttf-dev libfreetype6-dev libportmidi-dev fontconfig -y | ||
apt-get install python3-setuptools python3-dev python3-pip python3-wheel python3-sphinx -y | ||
# Build a wheel, install it for running unit tests | ||
|