Skip to content

Commit

Permalink
CI: add Alpine multi-platform CI
Browse files Browse the repository at this point in the history
Signed-off-by: Rosen Penev <[email protected]>
  • Loading branch information
neheb committed Jan 13, 2024
1 parent 1290548 commit a284d3e
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/on_PR_meson.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,28 @@ concurrency:
cancel-in-progress: true

jobs:
Alpine:
runs-on: ubuntu-20.04
name: Linux-deps=${{matrix.deps}}-${{matrix.platform}}
strategy:
matrix:
deps: ['enabled', 'disabled']
platform: ['x86','armhf','armv7','aarch64','ppc64le','riscv64','s390x']
steps:
- uses: actions/checkout@v4
- uses: jirutka/setup-alpine@v1
with:
branch: edge
arch: ${{matrix.platform}}
packages: >
build-base meson ninja pkgconf brotli-dev curl-dev expat-dev gtest-dev inih-dev zlib-dev
- name: Install meson
run: python3 -m pip install meson ninja
- name: Compile and Test
run: |
meson setup "${{github.workspace}}/build" -Dauto_features=${{matrix.deps}} -Dwarning_level=3
meson compile -C "${{github.workspace}}/build"
meson test -C "${{github.workspace}}/build"
Ubuntu:
runs-on: ubuntu-20.04
name: Linux-GCC${{matrix.cxx}}-deps=${{matrix.deps}}
Expand Down

0 comments on commit a284d3e

Please sign in to comment.