Skip to content

Commit cea1aba

Browse files
committed
fix: gh-actions latest ubuntu breaks
1 parent a0a7acd commit cea1aba

File tree

1 file changed

+13
-10
lines changed

1 file changed

+13
-10
lines changed

.github/workflows/linux-build-test.yml

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,26 +6,26 @@ on: [ push, pull_request ]
66
jobs:
77
build:
88
name: ${{matrix.cxx}}, C++${{matrix.std}}, ${{matrix.build_type}}
9-
runs-on: ubuntu-latest
9+
runs-on: ubuntu-22.04
1010
strategy:
1111
fail-fast: false
1212
matrix:
1313
cxx:
14-
- g++-9
1514
- g++-10
16-
- clang++-9
17-
- clang++-10
15+
- g++-11
16+
- clang++-11
17+
- clang++-14
1818
build_type: [ Debug, Release ]
1919
std: [ 17 ]
2020
include:
21-
- cxx: g++-9
22-
other_pkgs: [ g++-9 ]
2321
- cxx: g++-10
2422
other_pkgs: [ g++-10 ]
25-
- cxx: clang++-9
26-
other_pkgs: [ clang-9 ]
27-
- cxx: clang++-10
28-
other_pkgs: [ clang-10 ]
23+
- cxx: g++-11
24+
other_pkgs: [ g++-11 ]
25+
- cxx: clang++-11
26+
other_pkgs: [ clang-11 ]
27+
- cxx: clang++-14
28+
other_pkgs: [ clang-14 ]
2929

3030

3131
steps:
@@ -34,8 +34,11 @@ jobs:
3434
submodules: recursive
3535

3636
- name: Prepare environment
37+
# ubuntu-latest breaks without libunwind-dev,
38+
# see: https://github.com/actions/runner-images/issues/6399#issuecomment-1286050292
3739
run: |
3840
sudo apt-get update -y
41+
sudo apt-get install -y libunwind-dev
3942
sudo apt-get install -y \
4043
ninja-build \
4144
libboost-thread-dev libboost-filesystem-dev libboost-log-dev libboost-stacktrace-dev \

0 commit comments

Comments
 (0)