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 echo "Acquire::ftp::Timeout \"120\";" | sudo tee -a /etc/apt/apt.conf.d/80-custom
jobs: jobs:
build-ubuntu-latest-tests: build-ubuntu-tests:
# The CMake configure and build commands are platform agnostic and should work equally well on Windows or Mac. runs-on: ${{matrix.os}}
# You can convert this to a matrix build if you need cross-platform coverage. strategy:
# See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix matrix:
runs-on: ubuntu-latest os: [latest, ubuntu-22.04, ubuntu-20.04]
steps: steps:
- name: set apt conf - name: set apt conf
run: ${{env.APT_SET_CONF}} run: ${{env.APT_SET_CONF}}