mirror of
https://github.com/Z3Prover/z3
synced 2026-06-14 21:05:39 +00:00
Update cross-build workflow to use g++-12 for C++20 support
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
This commit is contained in:
parent
19e3791d62
commit
9d2c161d26
1 changed files with 2 additions and 2 deletions
4
.github/workflows/cross-build.yml
vendored
4
.github/workflows/cross-build.yml
vendored
|
|
@ -22,12 +22,12 @@ jobs:
|
||||||
uses: actions/checkout@v6.0.1
|
uses: actions/checkout@v6.0.1
|
||||||
|
|
||||||
- name: Install cross build tools
|
- name: Install cross build tools
|
||||||
run: apt update && apt install -y ninja-build cmake python3 g++-11-${{ matrix.arch }}-linux-gnu
|
run: apt update && apt install -y ninja-build cmake python3 g++-12-${{ matrix.arch }}-linux-gnu
|
||||||
env:
|
env:
|
||||||
DEBIAN_FRONTEND: noninteractive
|
DEBIAN_FRONTEND: noninteractive
|
||||||
|
|
||||||
- name: Configure CMake and build
|
- name: Configure CMake and build
|
||||||
run: |
|
run: |
|
||||||
mkdir build && cd build
|
mkdir build && cd build
|
||||||
cmake -DCMAKE_CXX_COMPILER=${{ matrix.arch }}-linux-gnu-g++-11 ../
|
cmake -DCMAKE_CXX_COMPILER=${{ matrix.arch }}-linux-gnu-g++-12 ../
|
||||||
make -j$(nproc)
|
make -j$(nproc)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue