2023-12-08 05:08:33 +03:00
|
|
|
name: '[arm,ppc,ricsv] architecture builds'
|
|
|
|
on:
|
|
|
|
workflow_dispatch:
|
|
|
|
branches: [ master, stable* ]
|
|
|
|
schedule:
|
|
|
|
- cron: '30 5 * * SUN'
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build_job:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
name: "Test on ${{ matrix.distro }}/${{ matrix.arch }}"
|
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- arch: armv6
|
|
|
|
distro: bullseye
|
|
|
|
- arch: armv7
|
|
|
|
distro: bullseye
|
|
|
|
- arch: aarch64
|
|
|
|
distro: bullseye
|
|
|
|
- arch: s390x
|
|
|
|
distro: bullseye
|
|
|
|
- arch: ppc64le
|
|
|
|
distro: bullseye
|
|
|
|
- arch: riscv64
|
|
|
|
distro: ubuntu22.04
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v4
|
|
|
|
- uses: uraimo/run-on-arch-action@master
|
|
|
|
name: "Run tests"
|
|
|
|
id: build
|
|
|
|
with:
|
|
|
|
arch: ${{ matrix.arch }}
|
|
|
|
distro: ${{ matrix.distro }}
|
|
|
|
githubToken: ${{ github.token }}
|
|
|
|
env: |
|
|
|
|
CTEST_OUTPUT_ON_FAILURE: 1
|
|
|
|
WLOG_LEVEL: 'trace'
|
|
|
|
install: |
|
|
|
|
apt-get update -q -y
|
|
|
|
apt-get install -q -y \
|
2024-05-14 23:08:51 +03:00
|
|
|
libxrandr-dev \
|
|
|
|
libxinerama-dev \
|
|
|
|
libusb-1.0-0-dev \
|
|
|
|
xserver-xorg-dev \
|
|
|
|
libswscale-dev \
|
|
|
|
libswresample-dev \
|
|
|
|
libavutil-dev \
|
|
|
|
libavcodec-dev \
|
|
|
|
libcups2-dev \
|
|
|
|
libpulse-dev \
|
|
|
|
libasound2-dev \
|
|
|
|
libpcsclite-dev \
|
|
|
|
xsltproc \
|
2024-05-17 00:34:30 +03:00
|
|
|
libxml2-dev \
|
2024-05-14 23:08:51 +03:00
|
|
|
libxcb-cursor-dev \
|
|
|
|
libxcursor-dev \
|
|
|
|
libcairo2-dev \
|
|
|
|
libfaad-dev \
|
|
|
|
libgsm1-dev \
|
2023-12-08 05:08:33 +03:00
|
|
|
ninja-build \
|
2024-05-14 23:08:51 +03:00
|
|
|
libxfixes-dev \
|
|
|
|
libxkbcommon-dev \
|
2024-05-17 00:34:30 +03:00
|
|
|
libxkbfile-dev \
|
2024-05-14 23:08:51 +03:00
|
|
|
libwayland-dev \
|
2023-12-08 05:08:33 +03:00
|
|
|
libpam0g-dev \
|
2024-05-14 23:08:51 +03:00
|
|
|
libxdamage-dev \
|
|
|
|
libxcb-damage0-dev \
|
|
|
|
libxtst-dev \
|
|
|
|
libfuse3-dev \
|
|
|
|
libsystemd-dev \
|
|
|
|
libsoxr-dev \
|
|
|
|
libsdl2-dev \
|
2024-05-17 00:34:30 +03:00
|
|
|
libsdl2-ttf-dev \
|
|
|
|
libsdl2-image-dev \
|
2024-05-14 23:08:51 +03:00
|
|
|
docbook-xsl \
|
|
|
|
libkrb5-dev \
|
|
|
|
libcjson-dev \
|
2024-05-17 00:34:30 +03:00
|
|
|
libpkcs11-helper1-dev \
|
2024-05-14 23:08:51 +03:00
|
|
|
libwebkit2gtk-4.0-dev \
|
|
|
|
libopus-dev \
|
|
|
|
libwebp-dev \
|
|
|
|
libpng-dev \
|
|
|
|
libjpeg-dev \
|
|
|
|
liburiparser-dev \
|
2024-05-17 00:34:30 +03:00
|
|
|
libssl-dev \
|
|
|
|
opensc-pkcs11 \
|
2024-06-11 10:15:51 +03:00
|
|
|
libv4l-dev \
|
2024-05-14 23:08:51 +03:00
|
|
|
cmake \
|
2023-12-08 05:08:33 +03:00
|
|
|
clang
|
|
|
|
run: |
|
|
|
|
cmake -GNinja \
|
|
|
|
-C ci/cmake-preloads/config-linux-all.txt \
|
|
|
|
-B ci-build \
|
|
|
|
-S . \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/tmp/ci-test \
|
|
|
|
-DCMAKE_C_COMPILER=/usr/bin/clang \
|
|
|
|
-DCMAKE_CXX_COMPILER=/usr/bin/clang++ \
|
|
|
|
-DUSE_UNWIND=OFF \
|
|
|
|
-DUSE_EXECINFO=OFF \
|
|
|
|
-DWITH_SANITIZE_ADDRESS=OFF
|
|
|
|
cmake --build ci-build --parallel $(nproc) --target install
|
|
|
|
cmake --build ci-build --parallel $(nproc) --target test
|