diff --git a/.github/workflows/Tests.yaml b/.github/workflows/Tests.yaml index c5136d6930759..0524562b96021 100644 --- a/.github/workflows/Tests.yaml +++ b/.github/workflows/Tests.yaml @@ -847,17 +847,15 @@ ${{ matrix.build_type }}-pch-${{ matrix.use_pch || 'ON' }}" # Build all test executables and run unit tests on macOS unit_tests_macos: name: Unit tests on macOS - runs-on: macos-13 + runs-on: macos-14 env: # We install some low-level dependencies with Homebrew. They get picked up # by `spack external find`. SPECTRE_BREW_DEPS: >- # Line breaks are spaces, no trailing newline - autoconf automake catch2 ccache cmake pkg-config boost + autoconf automake boost catch2 ccache cmake gsl hdf5 pkg-config # We install these packages with Spack and cache them. The full specs are - # listed in support/DevEnvironments/spack.yaml. This list is only needed - # to create the cache. - SPECTRE_SPACK_DEPS: >- - blaze charmpp gsl hdf5 libxsmm openblas yaml-cpp + # listed below. This list is only needed to create the cache. + SPECTRE_SPACK_DEPS: charmpp CCACHE_DIR: $HOME/ccache CCACHE_TEMPDIR: $HOME/ccache-tmp CCACHE_MAXSIZE: "2G" @@ -875,7 +873,7 @@ ${{ matrix.build_type }}-pch-${{ matrix.use_pch || 'ON' }}" uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: - python-version: '3.10' + python-version: '3.12' - name: Install Homebrew dependencies run: | brew install $SPECTRE_BREW_DEPS @@ -893,7 +891,7 @@ ${{ matrix.build_type }}-pch-${{ matrix.use_pch || 'ON' }}" run: | cd $HOME git clone -c feature.manyFiles=true --depth=1 \ - --branch releases/v0.18 --single-branch \ + --branch releases/v0.22 --single-branch \ https://github.com/spack/spack.git - name: Configure Spack # - To avoid re-building packages that are already installed by Homebrew @@ -912,9 +910,9 @@ ${{ matrix.build_type }}-pch-${{ matrix.use_pch || 'ON' }}" - name: Install Spack dependencies run: | source $HOME/spack/share/spack/setup-env.sh - spack env create spectre support/DevEnvironments/spack.yaml + spack env create spectre spack env activate spectre - spack remove catch2 doxygen jemalloc boost + spack add charmpp@7.0.0 backend=multicore build-target=charm++ spack concretize --reuse spack install --no-check-signature spack find -v @@ -977,7 +975,7 @@ ${{ matrix.build_type }}-pch-${{ matrix.use_pch || 'ON' }}" -D OVERRIDE_ARCH=x86-64 \ -D BUILD_SHARED_LIBS=ON \ -D BUILD_PYTHON_BINDINGS=ON \ - -D BOOTSTRAP_PY_DEPS=ON \ + -D SPECTRE_FETCH_MISSING_DEPS=ON \ -D MEMORY_ALLOCATOR=SYSTEM \ -D CHARM_ROOT=$(spack location --install-dir charmpp) \ -D CMAKE_BUILD_TYPE=Debug \