Commit 1d36cae26a for strongswan.org

commit 1d36cae26a16ca60fe7858d6bfbf5aced54fe5c8
Author: Tobias Brunner <tobias@strongswan.org>
Date:   Fri Apr 17 10:51:28 2026 +0200

    cirrus/github: Move CI for Alpine from Cirrus CI to GitHub Actions

    Same as the previous commit.

diff --git a/.cirrus.yml b/.cirrus.yml
deleted file mode 100644
index 192320365c..0000000000
--- a/.cirrus.yml
+++ /dev/null
@@ -1,14 +0,0 @@
-alpine_task:
-  container:
-    image: alpine:latest
-
-  env:
-    TESTS_REDUCED_KEYLENGTHS: yes
-    TESTS_NO_IPV6: yes
-    LEAK_DETECTIVE: no
-    MONOLITHIC: no
-    TEST: alpine
-    OS_NAME: alpine
-
-  install_script: ./scripts/test.sh deps
-  script: ./scripts/test.sh
diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml
index 6390455801..e2f64b46df 100644
--- a/.github/workflows/linux.yml
+++ b/.github/workflows/linux.yml
@@ -199,3 +199,36 @@ jobs:
           name: Logs ${{ github.job }}
           path: config.log
           retention-days: 5
+
+  alpine:
+    needs: pre-check
+    if: ${{ needs.pre-check.outputs.should_skip != 'true' }}
+    runs-on: ubuntu-latest
+    container: alpine:latest
+    env:
+      TESTS_REDUCED_KEYLENGTHS: yes
+      TEST: alpine
+      OS_NAME: alpine
+    steps:
+      - uses: actions/checkout@v6
+      # install tar and zstd before the cache action that requires them
+      - run: |
+          apk add ccache tar zstd
+          echo "PATH=/usr/lib/ccache/bin:$PATH" >> $GITHUB_ENV
+      - uses: actions/cache@v5
+        with:
+          path: ~/.cache/ccache
+          key: ccache-alpine-${{ github.sha }}
+          restore-keys: |
+            ccache-alpine-
+      - run: ccache -z
+      # don't use the default action as we don't want to build dependencies or install bash
+      - run: ./scripts/test.sh deps
+      - run: ./scripts/test.sh
+      - run: ccache -sv
+      - if: ${{ failure() }}
+        uses: actions/upload-artifact@v6
+        with:
+          name: Logs ${{ github.job }}
+          path: config.log
+          retention-days: 5