incorporate ls during propagation #4480
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: RISC V and PowerPC 64 | |
on: | |
push: | |
pull_request: | |
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@v4 | |
- name: Install cross build tools | |
run: apt update && apt install -y ninja-build cmake python3 g++-11-${{ 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++-11 ../ | |
make -j$(nproc) |