We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 017ef16 commit 0e2224dCopy full SHA for 0e2224d
1 file changed
.github/workflows/smoke-test.yml
@@ -0,0 +1,34 @@
1
+name: smoke-test
2
+on:
3
+ push:
4
+ branches: [master]
5
+jobs:
6
+ smoke-test:
7
+ runs-on: ubuntu-latest
8
+ steps:
9
+ - name: Checkout code
10
+ uses: actions/checkout@v5
11
+
12
+ - name: Configure test parameters
13
+ run: |
14
+ sed -i 's/TIME_WINDOW_SIZE = 0.01/TIME_WINDOW_SIZE = 0.2/' src/constants.hpp
15
16
+ - name: Build and install library
17
18
+ mkdir build && cd build
19
+ cmake .. -DCMAKE_INSTALL_PREFIX=${{ github.workspace }}/install
20
+ make
21
+ cmake --install . --prefix ${{github.workspace}}/install
22
23
+ - name: Build solverdummy
24
25
+ cd test
26
27
+ cmake .. -DCMAKE_PREFIX_PATH=${{ github.workspace }}/install
28
29
30
+ - name: Run smoke test
31
32
+ cd tests/build
33
+ ./solverdummy Fluid &
34
+ ./solverdummy Solid
0 commit comments