diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index fcedccb4..ab26f2b5 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -8,11 +8,11 @@ jobs: strategy: matrix: - os: ["ubuntu-22.04", "macos-11", "ubuntu-20.04"] + os: ["ubuntu-22.04", "ubuntu-20.04", "macos-latest", "macos-13"] fail-fast: false steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: apt if: ${{ runner.os == 'Linux' }} @@ -25,9 +25,14 @@ jobs: run: | brew install openmpi scalapack libomp + + - name: Setup Python + uses: actions/setup-python@v5 + with: + python-version: "3.11" + - name: pip run: | - python -m pip install numpy python3 -m pip install numpy - name: make workspace @@ -39,7 +44,7 @@ jobs: run: | if [ ${{ runner.os }} = "macOS" ] ; then # CONFIG=apple requires gfortran but macOS runner has not, but gfortran-11, 12, ... - ln -s `which gfortran-11` gfortran + ln -s `which gfortran-12` gfortran env PATH=`pwd`:$PATH HOMEBREW_PREFIX=/usr/local cmake -DCONFIG=apple -DCMAKE_VERBOSE_MAKEFILE=ON $GITHUB_WORKSPACE else cmake -DCMAKE_VERBOSE_MAKEFILE=ON $GITHUB_WORKSPACE