-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Try to force GCC-12 for MacOS (try 7)
- Loading branch information
Showing
1 changed file
with
17 additions
and
11 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,9 +18,11 @@ jobs: | |
matrix: | ||
# os: [ubuntu-latest] #, macos-latest] | ||
os: [macos-12] | ||
include: | ||
- os: macos-12 | ||
toolchain: {compiler: gcc, version 12} | ||
toolchain: | ||
- {compiler: gcc, version 12} | ||
# include: | ||
# - os: macos-12 | ||
# toolchain: {compiler: gcc, version 12} | ||
# include: | ||
# - runs-on: macos-12 | ||
# compiler: gcc | ||
|
@@ -36,21 +38,25 @@ jobs: | |
# echo "CXX=g++-${{ matrix.gcc }}" >> $GITHUB_ENV | ||
# echo "VERSION=${{ matrix.gcc }}" >> $GITHUB_ENV | ||
|
||
- name: Setup GNU Fortran | ||
- name: Setup Fortran | ||
uses: fortran-lang/setup-fortran@v1 | ||
id: macos-setup-fortran | ||
id: setup-fortran | ||
with: | ||
compiler: ${{ matrix.toolchain.compiler }} | ||
version: ${{ matrix.toolchain.version }} | ||
if: runner.os == 'macOS' | ||
|
||
- name: Build wheels | ||
uses: pypa/[email protected] | ||
- run: | | ||
${{ env.FC }} ... # environment vars FC, CC, and CXX are set | ||
${{ steps.setup-fortran.outputs.fc }} ... # outputs work too | ||
- name: Upload wheels | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
path: wheelhouse/*.whl | ||
# - name: Build wheels | ||
# uses: pypa/[email protected] | ||
|
||
# - name: Upload wheels | ||
# uses: actions/upload-artifact@v4 | ||
# with: | ||
# path: wheelhouse/*.whl | ||
|
||
build_sdist: | ||
name: Build source distribution | ||
|