From 0b51147d3b92b992d4ea7b0c83cb8bac6bee2776 Mon Sep 17 00:00:00 2001 From: rina Date: Thu, 4 Apr 2024 18:34:40 +1000 Subject: [PATCH] ci --- .github/workflows/test.yml | 6 ++++++ offlineASL-cpp/build.sh | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c2d50757..1d7cb295 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -34,6 +34,12 @@ jobs: echo "OUTPUT=$(pwd)/_build/default/tests/coverage" >> $GITHUB_OUTPUT rm -rf _build/default/tests/coverage/encodings id: coverage + - run: sudo apt-get install clang-15 lld-15 meson ninja + - run: offlineASL-cpp/build.sh + env: + CXX: "clang++-15" + CXX_LD: "ld.lld-15" + - name: Upload new coverage results if: always() diff --git a/offlineASL-cpp/build.sh b/offlineASL-cpp/build.sh index 42da6417..c30fd5c8 100755 --- a/offlineASL-cpp/build.sh +++ b/offlineASL-cpp/build.sh @@ -5,9 +5,9 @@ set -o pipefail # echo ":gen A64 aarch64_integer_arithmetic.+ cpp $(pwd)" | dune exec asli dir="$(dirname "$0")" cd "$dir" -# echo ":gen A64 aarch64.+ cpp ./subprojects" | dune exec asli +echo ":gen A64 aarch64.+ cpp ./subprojects" | dune exec asli -CXX=$(which clang++) CXX_LD=$(which ld.lld) meson setup --reconfigure build +meson setup --reconfigure build pushd build meson compile DESTDIR=$(pwd)/prefix meson install