From 16b8ca12241381c6ba0acd2bdd508d68c3fa92e8 Mon Sep 17 00:00:00 2001 From: Stephane Rigaud Date: Thu, 9 Jan 2025 12:10:52 +0100 Subject: [PATCH] build against oldest OS version --- .github/workflows/build.yaml | 4 ++-- .github/workflows/test.yaml | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 773619f..2ce6380 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -23,13 +23,13 @@ jobs: - macos include: - name: ubuntu - os: ubuntu-latest + os: ubuntu-20.04 c-compiler: gcc cxx-compiler: g++ cmake-build-type: Release cmake-build-flag: "" - name: windows - os: windows-latest + os: windows-2019 c-compiler: cl.exe cxx-compiler: cl.exe cmake-build-type: Release diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 7203ca8..5ed809d 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -12,13 +12,16 @@ jobs: strategy: matrix: java: [8, 11, 17, 21] + name: Test with Java ${{ matrix.java }} steps: - uses: actions/checkout@v2 + - name: Setup java uses: actions/setup-java@v2 with: java-version: ${{ matrix.java }} distribution: 'zulu' + - name: Execute the tests run: mvn clean test -X