Browse Source

CI: Test with latest-stable and edge

Jakub Jirutka 3 years ago
parent
commit
f89267740c
1 changed files with 6 additions and 1 deletions
  1. 6 1
      .github/workflows/ci.yml

+ 6 - 1
.github/workflows/ci.yml

@@ -6,13 +6,18 @@ on:
 jobs:
 jobs:
   test:
   test:
     runs-on: ubuntu-latest
     runs-on: ubuntu-latest
+    strategy:
+      matrix:
+        branch:
+          - latest-stable
+          - edge
     steps:
     steps:
       - uses: actions/checkout@v2
       - uses: actions/checkout@v2
 
 
       - name: Build rootfs tarball
       - name: Build rootfs tarball
         run: |
         run: |
          sudo ./alpine-make-rootfs \
          sudo ./alpine-make-rootfs \
-              --branch v3.15 \
+              --branch ${{ matrix.branch }} \
               --packages 'ruby sqlite' \
               --packages 'ruby sqlite' \
               --script-chroot \
               --script-chroot \
               example-$(date +%Y%m%d).tar.gz -- ./example/install.sh
               example-$(date +%Y%m%d).tar.gz -- ./example/install.sh