From 636028d9169b2fffdb7832d77950be1e1f538123 Mon Sep 17 00:00:00 2001 From: Stijn Tintel Date: Sat, 30 Mar 2024 12:08:41 +0200 Subject: [PATCH] CI: build on Alpine Linux Add a CI step to build on Alpine Linux, to avoid future breakage on systems running musl libc. Signed-off-by: Stijn Tintel --- .github/workflows/ci.yml | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 69c08b30..b838d2a9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,8 +3,8 @@ name: ci on: [pull_request] jobs: - build: - name: build + build_ubuntu: + name: build on Ubuntu runs-on: ubuntu-22.04 steps: - name: checking out @@ -15,3 +15,18 @@ jobs: working-directory: tgt run: | make + build_alpine: + name: build on Alpine Linux + runs-on: ubuntu-22.04 + steps: + - name: checking out + uses: actions/checkout@v3 + with: + path: tgt + - name: Setup Alpine Linux + uses: jirutka/setup-alpine@v1 + + - name: build + working-directory: tgt + run: | + make