3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-01-20 01:03:20 +00:00
z3/.github/workflows/cross-build.yml
copilot-swe-agent[bot] 9d2c161d26 Update cross-build workflow to use g++-12 for C++20 support
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
2026-01-17 00:25:52 +00:00

33 lines
727 B
YAML

name: RISC V and PowerPC 64
on:
schedule:
- cron: '0 0 */2 * *'
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
container: ubuntu:jammy
strategy:
fail-fast: false
matrix:
arch: [ aarch64, riscv64, powerpc64 ]
steps:
- name: Checkout code
uses: actions/checkout@v6.0.1
- name: Install cross build tools
run: apt update && apt install -y ninja-build cmake python3 g++-12-${{ matrix.arch }}-linux-gnu
env:
DEBIAN_FRONTEND: noninteractive
- name: Configure CMake and build
run: |
mkdir build && cd build
cmake -DCMAKE_CXX_COMPILER=${{ matrix.arch }}-linux-gnu-g++-12 ../
make -j$(nproc)