Skip to content

Commit cc9f74a

Browse files
committed
fix yaml syntax
1 parent 51a227b commit cc9f74a

1 file changed

Lines changed: 12 additions & 6 deletions

File tree

.github/workflows/build_unix_with_tfel.yml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,21 +16,27 @@ jobs:
1616
runs-on: ubuntu-latest
1717

1818
steps:
19-
- uses: actions/checkout@v4
20-
19+
- uses: actions/checkout@v7
20+
with:
21+
path: mgis
2122
- name: Install TFEL
22-
# - uses: actions/checkout@v4
23-
# - repository: https://github.com/thelfer/tfel
23+
- uses: actions/checkout@v7
24+
with:
25+
repository: https://github.com/thelfer/tfel
26+
path: tfel
2427
run: |
25-
cmake -B ${{github.workspace}}/build-tfel -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} \
28+
cmake ${{github.workspace}}/tfel \
29+
-B ${{github.workspace}}/build-tfel \
30+
-DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} \
2631
-DCMAKE_INSTALL_PREFIX=${{github.workspace}}/install-tfel
2732
cmake --build ${{github.workspace}}/build-tfel --target all -j $(nproc)
2833
cmake --build ${{github.workspace}}/build-tfel --target install
2934
3035
- name: Configure
3136
run: |
3237
source ${{github.workspace}}/install-tfel/share/tfel/env/env.sh
33-
cmake --build ${{github.workspace}}/build-tfel \
38+
cmake ${{github.workspace}}/build/mgis \
39+
-B ${{github.workspace}}/build \
3440
-DCMAKE_BUILD_TYPE=Release . \
3541
-Denable-c-bindings=ON \
3642
-Denable-fortran-bindings=ON \

0 commit comments

Comments
 (0)