File tree Expand file tree Collapse file tree 1 file changed +22
-3
lines changed
Expand file tree Collapse file tree 1 file changed +22
-3
lines changed Original file line number Diff line number Diff line change @@ -38,21 +38,25 @@ jobs:
3838
3939
4040 runs-on : ${{ matrix.os }}
41- timeout-minutes : 7
41+ timeout-minutes : 15
4242
4343 steps :
4444
45- - name : install prereqs (Linux)
45+ - &linux-prereq
46+ name : install prereqs (Linux)
47+ timeout-minutes : 15
4648 if : runner.os == 'Linux'
4749 run : |
4850 sudo apt update
4951 sudo apt install --no-install-recommends libopenmpi-dev openmpi-bin liblapack-dev
5052
5153 - name : install prereqs (macOS)
54+ timeout-minutes : 15
5255 if : runner.os == 'macOS'
5356 run : brew install open-mpi gcc
5457
55- - uses : actions/checkout@v4
58+ - &checkout
59+ uses : actions/checkout@v4
5660
5761 - name : Config
5862 run : cmake -B build -DBUILD_SINGLE:BOOL=off -DBUILD_SHARED_LIBS:BOOL=${{ matrix.shared }}
7175
7276 - name : test
7377 run : ctest --test-dir example/build -V
78+
79+ # test this project used as an archive in other projects
80+ archive :
81+ timeout-minutes : 15
82+
83+ runs-on : ubuntu-latest
84+
85+ steps :
86+ - *linux-prereq
87+ - *checkout
88+
89+ - name : Test Scalapack as archive
90+ run : cmake -S example/other_project -B build
91+
92+ # if broken, the CMake configure step fails
You can’t perform that action at this time.
0 commit comments