diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 61fe9867..e6bd7ec6 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -14,14 +14,20 @@ jobs: build: name: Build distribution runs-on: ubuntu-latest - strategy: - max-parallel: 1 container: image: perldocker/perl-tester:5.38 steps: - uses: actions/checkout@v4 - name: Allow for file ownership conflicts with Docker and GitHub Actions run: git config --global --add safe.directory '*' + - name: Install latest CMake + run: | + sudo apt-get update + sudo apt-get remove --purge --auto-remove cmake + sudo snap install cmake --classic + cmake --version + - name: Use system CMake for Alien-cmake3 + run: echo "ALIEN_CMAKE3_SYSTEM=1" >> $GITHUB_ENV - name: Run Tests with coverage env: AUTHOR_TESTING: 1 @@ -54,6 +60,8 @@ jobs: - "5.34" - "5.36" - "5.38" + - "5.40" + - "5.42" container: image: perldocker/perl-tester:${{ matrix.perl-version }} env: @@ -101,6 +109,8 @@ jobs: - "5.34" - "5.36" - "5.38" + - "5.40" + - "5.42" name: Perl ${{ matrix.perl-version }} on ${{ matrix.os }} needs: build steps: