Add ubuntu matrix for building tests via actions

This commit is contained in:
Lee *!* Clagett 2023-08-01 17:32:34 -04:00 committed by GitHub
parent 7c5b280190
commit 31fbd1f203
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -16,12 +16,11 @@ env:
echo "Acquire::ftp::Timeout \"120\";" | sudo tee -a /etc/apt/apt.conf.d/80-custom
jobs:
build-ubuntu-latest-tests:
# 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
build-ubuntu-tests:
runs-on: ${{matrix.os}}
strategy:
matrix:
os: [latest, ubuntu-22.04, ubuntu-20.04]
steps:
- name: set apt conf
run: ${{env.APT_SET_CONF}}