Skip to content

Commit f24a250

Browse files
authored
GitHub Actions script update (#186)
1 parent 6d4cf41 commit f24a250

File tree

1 file changed

+24
-23
lines changed

1 file changed

+24
-23
lines changed

.github/workflows/main.yml

+24-23
Original file line numberDiff line numberDiff line change
@@ -13,29 +13,30 @@ on:
1313
- cron: '0 13 * * 4'
1414

1515
jobs:
16-
strategy:
17-
matrix:
18-
platform: [ubuntu-latest, macos-12, macos-14, windows-latest]
19-
fail-fast: false
20-
runs-on: ${{ matrix.platform }}
21-
steps:
22-
- uses: actions/[email protected]
23-
- uses: jwlawson/[email protected]
24-
- run: |
25-
mkdir build
26-
cd build
27-
cmake $CMAKE_ARGS -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} -DBUILD_DOC=ON -DBUILD_TESTING=ON -DDISABLE_REFMAN_PDF=ON ..
28-
make lib
16+
tests:
17+
strategy:
18+
matrix:
19+
platform: [ubuntu-latest, macos-12, macos-14] # TODO: , windows-latest]
20+
fail-fast: false
21+
runs-on: ${{ matrix.platform }}
22+
steps:
23+
- uses: actions/[email protected]
24+
- uses: jwlawson/[email protected]
25+
- run: |
26+
mkdir build
27+
cd build
28+
cmake $CMAKE_ARGS -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} -DBUILD_DOC=ON -DBUILD_TESTING=ON -DDISABLE_REFMAN_PDF=ON ..
29+
make lib
2930
30-
- run: |
31-
cd build
32-
export CTEST_OUTPUT_ON_FAILURE=1
33-
make check-testsuite # Build and check the testsuite
34-
make check-examples # Build and check the examples
35-
# TODO! (fails with error: no such file or directory: 'arrdaxpyf.o')
36-
# - make check-benchmarks # Build and check the benchmarks (takes a long time)
37-
make blitz-doc
38-
sudo make install # Install Blitz++
31+
- run: |
32+
cd build
33+
export CTEST_OUTPUT_ON_FAILURE=1
34+
make check-testsuite # Build and check the testsuite
35+
make check-examples # Build and check the examples
36+
# TODO! (fails with error: no such file or directory: 'arrdaxpyf.o')
37+
# - make check-benchmarks # Build and check the benchmarks (takes a long time)
38+
make blitz-doc
39+
sudo make install # Install Blitz++
3940
40-
# TODO: LD_LIBRARY_PATH=/usr/local/lib ${srcdir}/travis-ci/check-wiki-examples.py
41+
# TODO: LD_LIBRARY_PATH=/usr/local/lib ${srcdir}/travis-ci/check-wiki-examples.py
4142

0 commit comments

Comments
 (0)