Skip to content

Commit

Permalink
WIP: drop run-on-arch
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen Gallagher <[email protected]>
  • Loading branch information
sgallagher committed May 1, 2024
1 parent f17f8d3 commit 0b775ca
Showing 1 changed file with 24 additions and 21 deletions.
45 changes: 24 additions & 21 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -131,40 +131,43 @@ jobs:
fedora_aarch64:
name: Fedora ${{ matrix.arch }}
name: Fedora ARM64
runs-on: [self-hosted, linux, ARM64]
strategy:
fail-fast: false
matrix:
arch:
- aarch64
release: ${{ fromJson(needs.get_fedora_releases.outputs.active) }}
compiler:
- gcc
- clang
steps:
- name: Checkout code
uses: actions/checkout@v4

- uses: uraimo/run-on-arch-action@v2
name: Perform upstream tests
container:
image: quay.io/fedora/fedora:${{ matrix.release }}
options: --security-opt seccomp=unconfined

steps:
- name: Identify the system
run: |
cat /etc/os-release
with:
arch: ${{ matrix.arch }}
distro: fedora_latest
- name: Checkout code
uses: actions/checkout@v4

# Not required, but speeds up builds by storing container images in
# a GitHub package registry.
githubToken: ${{ github.token }}
- name: Install build dependencies
run: |
dnf install -y meson pkgconf openssl openssl-devel libpath_utils-devel libtalloc-devel help2man popt-devel ${{ matrix.compiler }}
install: |
dnf update -y --refresh
dnf install -y meson pkgconf openssl openssl-devel libpath_utils-devel libtalloc-devel help2man popt-devel ${{ matrix.compiler }}
- name: Configure build directory
run: |
CC=${{ matrix.compiler}} meson setup fedora-${{ matrix.release }}
run: |
CC=${{ matrix.compiler}} meson setup fedora-${{ matrix.arch }}
ninja -C fedora-${{ matrix.arch }}
meson test -t 15 --print-errorlogs -C fedora-${{ matrix.arch }}
- name: Build SSCG
run: |
ninja -C fedora-${{ matrix.release }}
- name: Run in-tree tests
run: |
meson test -t 5 --print-errorlogs -C fedora-${{ matrix.release }}
centos-stream:
name: CentOS Stream
Expand Down

0 comments on commit 0b775ca

Please sign in to comment.