Skip to content

Commit

Permalink
[GHA] fix yaml syntax (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
KrisThielemans authored Oct 10, 2023
1 parent efcd428 commit ef3a7a0
Showing 1 changed file with 20 additions and 18 deletions.
38 changes: 20 additions & 18 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,13 @@ jobs:
matrix:
cppVersion: [17]

name: Validate C++${{ matrix.cppVersion }}
name: Validate Python and C++${{ matrix.cppVersion }}
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
with:
submodules: recursive

- name: Configure environment
uses: ./.github/actions/configure-environment
Expand All @@ -39,20 +41,20 @@ jobs:
tar -xzf "yardl_${YARDL_VERSION}_linux_x86_64.tar.gz"
rm "yardl_${YARDL_VERSION}_linux_x86_64.tar.gz"
- name: Build model
run: |
cd model
yardl generate
- name: Python
run: |
cd python
python prd_generator.py | python prd_analysis.py
- name: Cpp
run: |
cd cpp && mkdir -p build && cd build
cmake -G Ninja -S .. -DHDF5_ROOT="$CONDA_PREFIX"
ninja
./prd_generator test.h5
./prd_analysis test.h5
- name: Build model
run: |
cd model
yardl generate
- name: Python
run: |
cd python
python prd_generator.py | python prd_analysis.py
- name: Cpp
run: |
cd cpp && mkdir -p build && cd build
cmake -G Ninja -S .. -DHDF5_ROOT="$CONDA_PREFIX"
ninja
./prd_generator test.h5
./prd_analysis test.h5

0 comments on commit ef3a7a0

Please sign in to comment.