From 7c9cce1fa11acd46634cdaf2e10fd57010c43f3c Mon Sep 17 00:00:00 2001 From: LIU Hao Date: Sun, 19 Jan 2025 22:36:37 +0800 Subject: [PATCH] ci: Add ARM64 --- .github/workflows/ci.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 07e2d218f..7986ca396 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -39,6 +39,30 @@ jobs: meson setup -Denable-debug-checks=true -Doptimization=1 build_ci && meson test -Cbuild_ci + ubuntu-arm: + name: Ubuntu native build (ARM64) + runs-on: ubuntu-24.04-arm + + steps: + - uses: actions/checkout@v4 + + - name: Install dependencies + run: >- + sudo apt-get update && + sudo apt-get install -y --no-install-recommends g++-13 python3 + pkgconf libedit-dev libpcre2-dev libssl-dev zlib1g-dev uuid-dev + ninja-build python3-pip + + - name: Install newest meson + run: >- + sudo pip3 install meson # --break-system-packages + + - name: Run tests + run: >- + export CXX='g++-13'; + meson setup -Denable-debug-checks=true -Doptimization=1 build_ci + && meson test -Cbuild_ci + msys2: name: MSYS2 native build (x86-64) runs-on: windows-2022