From ce196f9139077be3a6f23f8602a4ad30d0fbda5f Mon Sep 17 00:00:00 2001 From: hollydinkel Date: Sat, 18 Nov 2023 10:13:01 -0600 Subject: [PATCH] [CI] update CI with OS matrix --- .github/workflows/build.yml | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c05bc86..e788812 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -5,17 +5,14 @@ on: branches: [ 'master' ] jobs: + build-linux: + strategy: + max-parallel: 5 + matrix: + os: [ubuntu-latest, ubuntu-22.04, ubuntu-20.04, ubuntu-18.04] - build-focal: - runs-on: ubuntu-20.04 - steps: - - name: Checkout TrackDLO repository - uses: actions/checkout@v3 - - name: Build, test, push base docker (Ubuntu 20.04) - run: cd docker && docker build -t rmdlo-trackdlo:noetic -f Dockerfile.noetic .. + runs-on: ${{matrix.os}} - build-jammy: - runs-on: ubuntu-22.04 steps: - name: Checkout TrackDLO repository uses: actions/checkout@v3