File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -74,18 +74,22 @@ jobs:
74
74
micromamba-version : latest
75
75
environment-file : environment.yml
76
76
77
- - name : Set the FC environment variable to the Fortran conda compiler
77
+ - name : Set the PREFIX environment variable
78
78
run : |
79
- echo "FC=C:\Users\runneradmin\micromamba\envs\fbld\Library\bin\flang.exe" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
79
+ echo "PREFIX=$env:MAMBA_ROOT_PREFIX\envs\fbld" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
80
+
81
+ - name : Set the FC environment variable
82
+ run : |
83
+ echo "FC=$env:PREFIX\Library\bin\flang.exe" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
80
84
81
85
- name : View environment variables
82
86
run : |
83
87
ls env:
84
88
85
89
- name : Configure, build, and install HeatModelF
86
90
run : |
87
- cmake ./external/bmi-example-fortran -B ${{ env. BUILD_DIR }} -LA -G Ninja -DCMAKE_INSTALL_PREFIX=$env:CONDA_PREFIX -DCMAKE_BUILD_TYPE=Release
88
- cmake --build ${{ env. BUILD_DIR }} --target install --config Release
91
+ cmake ./external/bmi-example-fortran -B $env: BUILD_DIR -LA -G Ninja -DCMAKE_INSTALL_PREFIX=$env:PREFIX -DCMAKE_BUILD_TYPE=Release
92
+ cmake --build $env: BUILD_DIR --target install --config Release
89
93
90
94
- name : Build and install package
91
95
run : |
You can’t perform that action at this time.
0 commit comments