forked from fedora-modularity/libmodulemd
-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (30 loc) · 1.14 KB
/
multiarch.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Other Architectures
on: [push, pull_request]
jobs:
multiarch:
runs-on: ubuntu-latest
name: ${{ matrix.distro }} on ${{ matrix.arch }}
continue-on-error: true
# Run steps on a matrix of 2 arch/distro combinations
strategy:
matrix:
include:
- arch: aarch64
distro: fedora_latest
steps:
- uses: actions/checkout@v4
- uses: uraimo/run-on-arch-action@v2
name: Perform upstream tests
with:
arch: ${{ matrix.arch }}
distro: ${{ matrix.distro }}
# Not required, but speeds up builds by storing container images in
# a GitHub package registry.
githubToken: ${{ github.token }}
# Work-around ldd bug in rawhide CIs
run: |
$GITHUB_WORKSPACE/.ci/fedora/get_fedora_deps.sh
sed -i -e 's/test -r/test -f/g' -e 's/test -x/test -f/g' /bin/ldd
meson setup --buildtype=debugoptimized -Dverbose_tests=false /tmp/ci $GITHUB_WORKSPACE
meson test --suite formatters -C /tmp/ci --print-errorlogs -t 5
meson test --suite ci -C /tmp/ci --print-errorlogs -t 5