Skip to content

Commit

Permalink
Add armv6, armv7 and riscv64 to multiarch CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ankith26 committed Mar 28, 2024
1 parent 987436c commit 300d8a7
Showing 1 changed file with 13 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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]
Expand All @@ -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 }}
Expand All @@ -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
Expand Down

0 comments on commit 300d8a7

Please sign in to comment.