Skip to content

Commit

Permalink
Use file names output from flang, not gfortran
Browse files Browse the repository at this point in the history
Setting CMAKE_Fortran_COMPILER got the correct compiler!
  • Loading branch information
mdpiper committed Dec 10, 2024
1 parent b155e3e commit 02e7c7e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,17 +100,17 @@ jobs:
- name: Check (for humans)
working-directory: ${{ github.workspace }}/build
run: |
Test-Path -Path ${{ env.LIBRARY_PREFIX }}\lib\libbmif.dll.a
Test-Path -Path ${{ env.LIBRARY_PREFIX }}\bin\libbmif.dll
Test-Path -Path ${{ env.LIBRARY_PREFIX }}\lib\bmif.lib
Test-Path -Path ${{ env.LIBRARY_PREFIX }}\bin\bmif.dll
Test-Path -Path ${{ env.LIBRARY_PREFIX }}\include\bmif_${{ env.BMI_VERSION }}.mod
Test-Path -Path ${{ env.LIBRARY_PREFIX }}\lib\libbmif_static.a
Test-Path -Path ${{ env.LIBRARY_PREFIX }}\lib\bmif_static.lib
pkg-config --exists --print-errors bmif
- name: Test (for machines)
working-directory: ${{ github.workspace }}/build
run: |
if ( -not ( Test-Path -Path ${{ env.LIBRARY_PREFIX }}\lib\libbmif.dll.a ) ){ exit 1 }
if ( -not ( Test-Path -Path ${{ env.LIBRARY_PREFIX }}\bin\libbmif.dll ) ){ exit 1 }
if ( -not ( Test-Path -Path ${{ env.LIBRARY_PREFIX }}\lib\bmif.lib ) ){ exit 1 }
if ( -not ( Test-Path -Path ${{ env.LIBRARY_PREFIX }}\bin\bmif.dll ) ){ exit 1 }
if ( -not ( Test-Path -Path ${{ env.LIBRARY_PREFIX }}\include\bmif_${{ env.BMI_VERSION }}.mod ) ){ exit 1 }
if ( -not ( Test-Path -Path ${{ env.LIBRARY_PREFIX }}\lib\libbmif_static.a ) ){ exit 1 }
if ( -not ( Test-Path -Path ${{ env.LIBRARY_PREFIX }}\lib\bmif_static.lib ) ){ exit 1 }
if ( -not ( Test-Path -Path ${{ env.LIBRARY_PREFIX }}\lib\pkgconfig\bmif.pc ) ){ exit 1 }

0 comments on commit 02e7c7e

Please sign in to comment.