File: multiarch.yaml

package info (click to toggle)
libmodulemd 2.15.0-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 5,152 kB
  • sloc: ansic: 37,845; python: 3,236; xml: 1,739; sh: 377; makefile: 42
file content (40 lines) | stat: -rw-r--r-- 1,225 bytes parent folder | download
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
38
39
40
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: ppc64le
            distro: fedora_latest
          - arch: s390x
            distro: fedora_latest

    steps:
      - uses: actions/checkout@v3

      - 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