Skip to content

Commit a05e05a

Browse files
committed
Update CI workflow
1 parent ec61627 commit a05e05a

File tree

1 file changed

+13
-10
lines changed

1 file changed

+13
-10
lines changed

.github/workflows/ci.yml

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
fail-fast: false
1616
matrix:
1717
os:
18-
- macos-12
18+
- macos-14
1919
env:
2020
CCACHE_COMPRESS: true
2121
CCACHE_MAXSIZE: 500M
@@ -24,24 +24,25 @@ jobs:
2424
steps:
2525
- name: Checkout repository
2626
uses: actions/checkout@v4
27-
- name: Set up Tap
27+
- name: Set up tap
2828
run: brew tap roboticslibrary/rl
29+
- name: Update index
30+
run: brew update
2931
- name: Install dependencies
3032
run: >
3133
brew install
3234
boost
3335
bullet
3436
ccache
3537
cmake
36-
coin
38+
coin3d
3739
eigen
3840
fcl
3941
ninja
4042
nlopt
4143
ode
4244
pqp
4345
solid
44-
soqt
4546
- name: Update environment variables
4647
run: |
4748
echo "CCACHE_BASEDIR=${{ runner.workspace }}" >> $GITHUB_ENV
@@ -82,9 +83,9 @@ jobs:
8283
- qt6
8384
include:
8485
- os: windows-2019
85-
toolchain: 14.2
86+
toolset: 14.2
8687
- os: windows-2022
87-
toolchain: 14.4
88+
toolset: 14.4
8889
env:
8990
CCACHE_COMPRESS: true
9091
CCACHE_MAXSIZE: 500M
@@ -98,7 +99,7 @@ jobs:
9899
- name: Install dependencies
99100
working-directory: ${{ runner.workspace }}
100101
run: |
101-
curl -L https://github.com/roboticslibrary/rl-3rdparty/releases/download/latest/rl-3rdparty-msvc-${{ matrix.toolchain }}-x64-${{ matrix.qt }}.7z -o rl-3rdparty.7z
102+
curl -L https://github.com/roboticslibrary/rl-3rdparty/releases/download/latest/rl-3rdparty-msvc-${{ matrix.toolset }}-x64-${{ matrix.qt }}.7z -o rl-3rdparty.7z
102103
7z x rl-3rdparty.7z -orl-3rdparty-install
103104
Write-Output "CMAKE_PREFIX_PATH=${{ runner.workspace }}\rl-3rdparty-install" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf8 -Append
104105
Write-Output "${{ runner.workspace }}\rl-3rdparty-install\bin" | Out-File -FilePath $Env:GITHUB_PATH -Encoding utf8 -Append
@@ -116,8 +117,8 @@ jobs:
116117
uses: actions/cache@v4
117118
with:
118119
path: ${{ runner.workspace }}/.ccache
119-
key: ${{ matrix.os }}-msvc-${{ matrix.toolchain }}-${{ matrix.qt }}-ccache-${{ github.sha }}
120-
restore-keys: ${{ matrix.os }}-msvc-${{ matrix.toolchain }}-${{ matrix.qt }}-ccache-
120+
key: ${{ matrix.os }}-msvc-${{ matrix.toolset }}-${{ matrix.qt }}-ccache-${{ github.sha }}
121+
restore-keys: ${{ matrix.os }}-msvc-${{ matrix.toolset }}-${{ matrix.qt }}-ccache-
121122
- name: Configure CMake
122123
run: cmake -GNinja -DCMAKE_BUILD_TYPE=Release -S"${{ github.workspace }}" -B"${{ runner.workspace }}/rl-build"
123124
- name: Build
@@ -132,7 +133,7 @@ jobs:
132133
- name: Upload archive
133134
uses: actions/upload-artifact@v4
134135
with:
135-
name: ${{ matrix.os }}-msvc-${{ matrix.toolchain }}-${{ matrix.qt }}
136+
name: ${{ matrix.os }}-msvc-${{ matrix.toolset }}-${{ matrix.qt }}
136137
path: ${{ runner.workspace }}/rl-build/rl-*.7z
137138
build-msys2:
138139
name: Build
@@ -229,6 +230,8 @@ jobs:
229230
run: |
230231
sudo apt-get install -y software-properties-common
231232
sudo apt-add-repository -y -u ppa:roblib/ppa
233+
- name: Update index
234+
run: sudo apt-get update
232235
- name: Install dependencies
233236
run: >
234237
sudo apt-get install -y

0 commit comments

Comments
 (0)