diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index 11edc61..70f0b28 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -113,7 +113,7 @@ jobs: trexio_macos: name: x86 MacOS 12 - runs-on: macos-11 + runs-on: macos-12 steps: - uses: actions/checkout@e2f20e631ae6d7dd3b768f56a5d2af784dd54791 @@ -128,7 +128,7 @@ jobs: - name: configure with autotools run: | ./autogen.sh - ./configure FC=gfortran-11 --enable-silent-rules + ./configure FC=gfortran-12 --enable-silent-rules - name: compile TREXIO run: make -j3 diff --git a/.github/workflows/build-wheels.yml b/.github/workflows/build-wheels.yml index 4a8a178..adddb7c 100644 --- a/.github/workflows/build-wheels.yml +++ b/.github/workflows/build-wheels.yml @@ -103,12 +103,9 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [macos-11, macos-12] + os: [macos-12] python-version: ['3.7', '3.8', '3.9', '3.10', '3.11'] -# TODO: normally, one could include macos-11 and the OS list above but the produced wheels receive an error upon installation: -# ERROR: trexio-1.1.0-cp39-cp39-macosx_11_0_x86_64.whl is not a supported wheel on this platform. -# This happens even with the MACOSX_DEPLOYMENT_TARGET trick. Perhaps it can be solved by configuring the build system -# to produce the wheels for MacOS-11 from the very beginning + steps: - uses: actions/checkout@v3 @@ -123,11 +120,6 @@ jobs: - name: Install HDF5 run: brew install hdf5@1.12 - # This step is needed to produce wheels with the correct platform tag for MacOS-11 (Big Sur) - #- name: Set MACOSX_DEPLOYMENT_TARGET environment variable - # if: ${{ matrix.os == 'macos-11' }} - # run: echo "MACOSX_DEPLOYMENT_TARGET=11.0" >> $GITHUB_ENV - - name: Compute the PYTREXIO_VERSION environment variable run: echo "PYTREXIO_VERSION=$(grep __version__ python/pytrexio/_version.py | cut -d\ -f3 | tr -d '"')" >> $GITHUB_ENV