json stem, archive to make more readable #1047
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: ci_macos | |
| env: | |
| HOMEBREW_NO_INSTALL_CLEANUP: 1 | |
| on: | |
| push: | |
| paths-ignore: | |
| - "cmake/intel.cmake" | |
| - "cmake/cray.cmake" | |
| - ".github/workflows/ci.yml" | |
| - ".github/workflows/ci_windows.yml" | |
| - ".github/workflows/oneapi-linux.yml" | |
| - "docs/**" | |
| - "scripts/**" | |
| - "**.md" | |
| jobs: | |
| macos: | |
| timeout-minutes: 30 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| hwm14: [false] | |
| compiler: [ {cpp: clang++, c: clang, fc: gfortran-15 }, | |
| {cpp: g++-15, c: gcc-15, fc: gfortran-15 }] | |
| # flang-new not yet working | |
| env: | |
| CC: ${{ matrix.compiler.c }} | |
| CXX: ${{ matrix.compiler.cpp }} | |
| FC: ${{ matrix.compiler.fc }} | |
| CMAKE: cmake | |
| CTEST: ctest | |
| runs-on: macos-latest | |
| steps: | |
| - name: install Flang | |
| if: ${{ matrix.compiler.fc == 'flang-new' }} | |
| run: brew install flang | |
| - &checkout | |
| uses: actions/checkout@v6 | |
| - &pkg | |
| uses: ./.github/workflows/composite-pkg | |
| - uses: ./.github/workflows/composite-unix | |
| gnu_make: | |
| timeout-minutes: 15 | |
| runs-on: macos-latest | |
| env: | |
| CC: gcc-15 | |
| CXX: g++-15 | |
| FC: gfortran-15 | |
| steps: | |
| - *checkout | |
| - *pkg | |
| - run: cmake --workflow gmake |