|
9 | 9 | - cron: '0 2 * * *' |
10 | 10 |
|
11 | 11 | env: |
12 | | - osqp_TAG: v0.6.3 |
13 | 12 | vcpkg_robotology_TAG: v0.0.3 |
14 | 13 | Catch2_TAG: v3.8.0 |
15 | 14 | # Overwrite the VCPKG_INSTALLATION_ROOT env variable defined by GitHub Actions to point to our vcpkg |
|
18 | 17 | # Test with different operating systems |
19 | 18 | jobs: |
20 | 19 | build: |
21 | | - name: '[${{ matrix.os }}@${{ matrix.build_type }}] [float:${{ matrix.float }}]' |
| 20 | + name: '[${{ matrix.os }}@${{ matrix.build_type }}@${{ matrix.osqp_TAG }}] [float:${{ matrix.float }}]' |
22 | 21 | runs-on: ${{ matrix.os }} |
23 | 22 | strategy: |
24 | 23 | matrix: |
25 | 24 | build_type: [Debug, Release] |
26 | 25 | os: [ubuntu-latest, windows-latest] |
| 26 | + osqp_TAG: ["v0.6.3", "v1.0.0.beta1", "v1.0.0"] |
27 | 27 | float: [ON, OFF] |
28 | 28 | fail-fast: false |
29 | 29 |
|
@@ -75,15 +75,15 @@ jobs: |
75 | 75 | uses: actions/cache@v4 |
76 | 76 | with: |
77 | 77 | path: ${{ github.workspace }}/install/deps |
78 | | - key: source-deps-${{ runner.os }}-${{ matrix.build_type }}-use-float-${{ matrix.float }}-vcpkg-robotology-${{ env.vcpkg_robotology_TAG }}-osqp-${{ env.osqp_TAG }}-catch2-${{ env.Catch2_TAG }} |
| 78 | + key: source-deps-${{ runner.os }}-${{ matrix.build_type }}-use-float-${{ matrix.float }}-vcpkg-robotology-${{ env.vcpkg_robotology_TAG }}-osqp-${{ matrix.osqp_TAG }}-catch2-${{ env.Catch2_TAG }} |
79 | 79 |
|
80 | 80 | - name: Source-based Dependencies [Windows] |
81 | 81 | if: steps.cache-source-deps.outputs.cache-hit != 'true' && matrix.os == 'windows-latest' |
82 | 82 | shell: bash |
83 | 83 | run: | |
84 | 84 | # osqp |
85 | 85 | cd ${GITHUB_WORKSPACE} |
86 | | - git clone --recursive -b ${osqp_TAG} https://github.com/oxfordcontrol/osqp |
| 86 | + git clone --recursive -b ${{ matrix.osqp_TAG }} https://github.com/oxfordcontrol/osqp |
87 | 87 | cd osqp |
88 | 88 | mkdir -p build |
89 | 89 | cd build |
|
99 | 99 | run: | |
100 | 100 | # osqp |
101 | 101 | cd ${GITHUB_WORKSPACE} |
102 | | - git clone --recursive -b ${osqp_TAG} https://github.com/oxfordcontrol/osqp |
| 102 | + git clone --recursive -b ${{ matrix.osqp_TAG }} https://github.com/oxfordcontrol/osqp |
103 | 103 | cd osqp |
104 | 104 | mkdir -p build |
105 | 105 | cd build |
@@ -144,17 +144,6 @@ jobs: |
144 | 144 | -DBUILD_TESTING:BOOL=ON \ |
145 | 145 | -DOSQPEIGEN_RUN_Valgrind_tests:BOOL=ON .. |
146 | 146 |
|
147 | | - - name: Configure [macOS] |
148 | | - if: matrix.os == 'macOS-latest' |
149 | | - shell: bash |
150 | | - run: | |
151 | | - mkdir -p build |
152 | | - cd build |
153 | | - cmake -DCMAKE_PREFIX_PATH=${GITHUB_WORKSPACE}/install/deps \ |
154 | | - -DCMAKE_INSTALL_PREFIX=${GITHUB_WORKSPACE}/install \ |
155 | | - -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} \ |
156 | | - -DBUILD_TESTING:BOOL=ON .. |
157 | | -
|
158 | 147 | - name: Build |
159 | 148 | shell: bash |
160 | 149 | run: | |
|
0 commit comments