浏览代码

Build for both Ubuntu LTS currently alive (18.04 will be out of support in a couple of days)

Signed-off-by: Alexis Maiquez <almamu@almamu.com>
Alexis Maiquez 3 年之前
父节点
当前提交
2119b0c1ee
共有 1 个文件被更改,包括 4 次插入 和 1 次删除
  1. 4 1
      .github/workflows/cmake.yml

+ 4 - 1
.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