From d89bdc8fdc1c576253e48f941f3edb8bbb4dc04b Mon Sep 17 00:00:00 2001 From: Lucas Ramage Date: Fri, 16 Sep 2022 20:20:02 -0400 Subject: [PATCH] Build on all distributions --- .github/workflows/main.yaml | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index dfe34a9..283efc1 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -8,25 +8,19 @@ on: jobs: build: + strategy: + matrix: + os: [alpine, debian, rocky, ubuntu] + runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - name: ubuntu - uses: addnab/docker-run-action@v3 - with: - options: -v ${{ github.workspace }}:/usr/src/pam_aad - image: ghcr.io/aad-for-linux/pam_aad:ubuntu - run: | - cd /usr/src/pam_aad - ./bootstrap.sh - ./configure - make - - name: alpine + - name: ${{ matrix.os }} uses: addnab/docker-run-action@v3 with: options: -v ${{ github.workspace }}:/usr/src/pam_aad - image: ghcr.io/aad-for-linux/pam_aad:alpine + image: ghcr.io/aad-for-linux/pam_aad:${{ matrix.os }} run: | cd /usr/src/pam_aad ./bootstrap.sh