Skip to content

Commit 02e7c7e

Browse files
committed
Use file names output from flang, not gfortran
Setting CMAKE_Fortran_COMPILER got the correct compiler!
1 parent b155e3e commit 02e7c7e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/test.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -100,17 +100,17 @@ jobs:
100100
- name: Check (for humans)
101101
working-directory: ${{ github.workspace }}/build
102102
run: |
103-
Test-Path -Path ${{ env.LIBRARY_PREFIX }}\lib\libbmif.dll.a
104-
Test-Path -Path ${{ env.LIBRARY_PREFIX }}\bin\libbmif.dll
103+
Test-Path -Path ${{ env.LIBRARY_PREFIX }}\lib\bmif.lib
104+
Test-Path -Path ${{ env.LIBRARY_PREFIX }}\bin\bmif.dll
105105
Test-Path -Path ${{ env.LIBRARY_PREFIX }}\include\bmif_${{ env.BMI_VERSION }}.mod
106-
Test-Path -Path ${{ env.LIBRARY_PREFIX }}\lib\libbmif_static.a
106+
Test-Path -Path ${{ env.LIBRARY_PREFIX }}\lib\bmif_static.lib
107107
pkg-config --exists --print-errors bmif
108108
109109
- name: Test (for machines)
110110
working-directory: ${{ github.workspace }}/build
111111
run: |
112-
if ( -not ( Test-Path -Path ${{ env.LIBRARY_PREFIX }}\lib\libbmif.dll.a ) ){ exit 1 }
113-
if ( -not ( Test-Path -Path ${{ env.LIBRARY_PREFIX }}\bin\libbmif.dll ) ){ exit 1 }
112+
if ( -not ( Test-Path -Path ${{ env.LIBRARY_PREFIX }}\lib\bmif.lib ) ){ exit 1 }
113+
if ( -not ( Test-Path -Path ${{ env.LIBRARY_PREFIX }}\bin\bmif.dll ) ){ exit 1 }
114114
if ( -not ( Test-Path -Path ${{ env.LIBRARY_PREFIX }}\include\bmif_${{ env.BMI_VERSION }}.mod ) ){ exit 1 }
115-
if ( -not ( Test-Path -Path ${{ env.LIBRARY_PREFIX }}\lib\libbmif_static.a ) ){ exit 1 }
115+
if ( -not ( Test-Path -Path ${{ env.LIBRARY_PREFIX }}\lib\bmif_static.lib ) ){ exit 1 }
116116
if ( -not ( Test-Path -Path ${{ env.LIBRARY_PREFIX }}\lib\pkgconfig\bmif.pc ) ){ exit 1 }

0 commit comments

Comments
 (0)