From 2119b0c1ee68c519db3dc3dcccfcdcc257357c39 Mon Sep 17 00:00:00 2001 From: Alexis Maiquez Date: Wed, 29 Mar 2023 22:23:18 +0200 Subject: [PATCH] Build for both Ubuntu LTS currently alive (18.04 will be out of support in a couple of days) Signed-off-by: Alexis Maiquez --- .github/workflows/cmake.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index eb32fed..f268342 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -12,10 +12,13 @@ env: jobs: build: + strategy: + matrix: + os: [ubuntu-22.04, ubuntu-20.04] # The CMake configure and build commands are platform agnostic and should work equally well on Windows or Mac. # You can convert this to a matrix build if you need cross-platform coverage. # See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix - runs-on: ubuntu-latest + runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v3