From b5ecc96eeb4895bbb59cd577d97e9b83ebdfa535 Mon Sep 17 00:00:00 2001 From: William Desportes Date: Sun, 14 Jul 2024 11:54:31 +0200 Subject: [PATCH] ci: Add an Alpine build --- .github/workflows/ci.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 26a99a4e..29c81b96 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -80,6 +80,33 @@ jobs: .github/workflows/freebsd-build.sh x86_64 .github/workflows/ci-run-tests.sh + build-alpine: + runs-on: alpine:3.20 + name: Build and test Alpine executable + steps: + - uses: actions/checkout@v4 + - name: Install dependencies and tools + run: | + apk add --update --no-cache \ + binutils-dev \ + build-base \ + cmake \ + git \ + curl-dev \ + curl-static \ + libdw \ + openssl-dev \ + ninja-build \ + python3 \ + zlib-dev \ + elfutils-dev \ + libstdc++-dev + - name: Run the tests + run: | + chmod u+x .github/workflows/freebsd-build.sh .github/workflows/ci-run-tests.sh + .github/workflows/freebsd-build.sh x86_64 + .github/workflows/ci-run-tests.sh + build-and-push-docker-image: name: Build and push to Docker Hub needs: [build-linux, build-osx, build-freebsd]