Skip to content

Commit

Permalink
ci: test AArch64 both optimized and not
Browse files Browse the repository at this point in the history
  • Loading branch information
fw-immunant committed Feb 22, 2025
1 parent 90914ad commit 83e8b18
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@ jobs:
popd
aarch64-wip-test:
runs-on: ubuntu-latest
strategy:
matrix:
build-type: [RelWithDebInfo, Debug]
steps:
- name: Install dep packages
uses: awalsh128/cache-apt-pkgs-action@latest
Expand Down Expand Up @@ -168,7 +171,7 @@ jobs:
working-directory: ${{ github.workspace }}/llvm-project
run: |
ln -s ../build-rtlibs ./
- name: Test ARM build
- name: Test ARM build (${{ matrix.build-type }})
run: |
LLVM_DIR=`llvm-config-15 --cmakedir`
Clang_DIR=`realpath $LLVM_DIR/../clang`
Expand All @@ -182,6 +185,7 @@ jobs:
-I${rtlibs_dir}/include/c++/v1"
export LDFLAGS="-L/usr/aarch64-linux-gnu/lib"
cmake .. \
-DCMAKE_BUILD_TYPE=${{ matrix.build-type }} \
-DCMAKE_CROSSCOMPILING_EMULATOR=${{ github.workspace }}/qemu/build/qemu-aarch64 \
-DCMAKE_TOOLCHAIN_FILE=../cmake/aarch64-toolchain.cmake \
-DCMAKE_C_COMPILER=`pwd`/../llvm-project/build/bin/clang-19 \
Expand Down

0 comments on commit 83e8b18

Please sign in to comment.