|
12 | 12 | fail-fast: false |
13 | 13 |
|
14 | 14 | matrix: |
15 | | - os: [ubuntu-latest, macos-14, ubuntu-24.04-arm, macos-15-intel] |
| 15 | + os: [ubuntu-latest, macos-15, ubuntu-24.04-arm, macos-15-intel] |
16 | 16 | build_type: [Release] |
17 | 17 | staticcompile: [ON, OFF] |
18 | 18 |
|
@@ -114,6 +114,18 @@ jobs: |
114 | 114 | cmake -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DENABLE_TESTING=OFF -DSTATICCOMPILE=${{ matrix.staticcompile }} .. |
115 | 115 | cd ../.. |
116 | 116 |
|
| 117 | + - name: Copy cadiback and cadical libs |
| 118 | + if: matrix.staticcompile == 'OFF' |
| 119 | + run: | |
| 120 | + sudo cp cadiback/libcadiback.so . |
| 121 | + sudo cp cadical/build/libcadical.so . |
| 122 | +
|
| 123 | + - name: Copy cadiback and cadical libs |
| 124 | + if: matrix.staticcompile == 'OFF' && contains(matrix.os, 'ubuntu') |
| 125 | + run: | |
| 126 | + sudo cp cadiback/libcadiback.so /usr/lib/ |
| 127 | + sudo cp cadical/build/libcadical.so /usr/lib/ |
| 128 | +
|
117 | 129 | - name: Checkout CMS |
118 | 130 | uses: actions/checkout@v4 |
119 | 131 | with: |
@@ -246,6 +258,16 @@ jobs: |
246 | 258 | - name: Test |
247 | 259 | run: ctest -C ${{matrix.build_type}} --verbose |
248 | 260 |
|
| 261 | + - name: run it to check it executes |
| 262 | + run: | |
| 263 | + echo "Running version command" |
| 264 | + ./project/build/approxmc --version |
| 265 | + echo $? |
| 266 | + echo "Running help command" |
| 267 | + ./project/build/approxmc --help |
| 268 | + echo $? |
| 269 | +
|
| 270 | +
|
249 | 271 | - name: Upload Artifact - Linux |
250 | 272 | if: matrix.os == 'ubuntu-latest' && matrix.staticcompile == 'ON' |
251 | 273 | uses: actions/upload-artifact@v4 |
|
0 commit comments