diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 1295cd889..d11d2afc1 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -12,12 +12,19 @@ jobs: name: Run Checks and Build strategy: matrix: - os: - - windows-latest - - ubuntu-20.04 - - macos-latest + include: + - os: windows-latest + - os: ubuntu-latest + container: ubuntu:20.04 + - os: macos-latest runs-on: ${{ matrix.os }} + container: ${{ matrix.container }} steps: + - name: Install build dependencies (Ubuntu container) + if: matrix.container == 'ubuntu:20.04' + run: | + apt-get update && apt-get install -y build-essential git p7zip-full + - name: Checkout source uses: actions/checkout@v4 with: @@ -69,7 +76,7 @@ jobs: needs: - build if: github.event_name == 'push' && contains(github.ref, 'refs/tags') - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest steps: - name: Store git tag and date vars. run: |