From 7f04cbbb954630b0d7b50217cce70638ccdb1ce0 Mon Sep 17 00:00:00 2001 From: Julie Schwartz Date: Tue, 17 Sep 2024 11:05:28 +1200 Subject: [PATCH 1/2] GitHub CI: Update the OS matrix and rename YAML file Add ubuntu-24.04, remove macos-11, and add macos-14. The Action versions (e.g. checkout@v4) are up to date. Renamed the CI YAML file to indicate that it is the top-level CI file (matching the naming structure used in the BSC repo). --- .github/workflows/{build.yml => ci.yml} | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) rename .github/workflows/{build.yml => ci.yml} (96%) diff --git a/.github/workflows/build.yml b/.github/workflows/ci.yml similarity index 96% rename from .github/workflows/build.yml rename to .github/workflows/ci.yml index 36e7255..9ef6e75 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/ci.yml @@ -7,7 +7,7 @@ jobs: build-ubuntu: strategy: matrix: - os: [ ubuntu-20.04, ubuntu-22.04 ] + os: [ ubuntu-20.04, ubuntu-22.04, ubuntu-24.04 ] fail-fast: false name: "Build ${{ matrix.os }}" runs-on: ${{ matrix.os }} @@ -35,7 +35,7 @@ jobs: build-macOS: strategy: matrix: - os: [ macos-11, macos-12, macos-13 ] + os: [ macos-12, macos-13, macos-14 ] fail-fast: false name: "Build ${{ matrix.os }}" runs-on: ${{ matrix. os }} @@ -63,7 +63,7 @@ jobs: build-doc-ubuntu: strategy: matrix: - os: [ ubuntu-20.04, ubuntu-22.04 ] + os: [ ubuntu-20.04, ubuntu-22.04, ubuntu-24.04 ] fail-fast: false name: "Build doc: ${{ matrix.os }}" runs-on: ${{ matrix.os }} @@ -86,7 +86,7 @@ jobs: build-doc-macOS: strategy: matrix: - os: [ macos-11, macos-12, macos-13 ] + os: [ macos-12, macos-13, macos-14 ] fail-fast: false name: "Build doc: ${{ matrix.os }}" runs-on: ${{ matrix.os }} @@ -112,7 +112,7 @@ jobs: test-ubuntu: strategy: matrix: - os: [ ubuntu-20.04, ubuntu-22.04 ] + os: [ ubuntu-20.04, ubuntu-22.04, ubuntu-24.04 ] fail-fast: false name: "Test ${{ matrix.os }}" runs-on: ${{ matrix.os }} @@ -213,7 +213,7 @@ jobs: test-macOS: strategy: matrix: - os: [ macos-11, macos-12, macos-13 ] + os: [ macos-12, macos-13, macos-14 ] fail-fast: false name: "Test ${{ matrix.os }}" runs-on: ${{ matrix. os }} From d1cffd4f3a0960b7aefa1dfee50da5c3efdaf4b0 Mon Sep 17 00:00:00 2001 From: Julie Schwartz Date: Tue, 17 Sep 2024 11:11:47 +1200 Subject: [PATCH 2/2] GitHub CI: On macOS, install texlive instead of mactex-no-gui This saves disk space and appears to run faster as well. It works around an issue with GitHub's macos-14 runner image, that has less free disk space due to more software being installed in the recent release (see actions/runner-images issue 10511). --- .github/workflows/install_dependencies_doc_macos.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/install_dependencies_doc_macos.sh b/.github/workflows/install_dependencies_doc_macos.sh index 6807b47..9f33ea5 100755 --- a/.github/workflows/install_dependencies_doc_macos.sh +++ b/.github/workflows/install_dependencies_doc_macos.sh @@ -1,3 +1,3 @@ #!/usr/bin/env bash -brew install mactex-no-gui +brew install texlive