From dce2e8d42662c1007db0f1d8efbcc89da767a059 Mon Sep 17 00:00:00 2001 From: Bryan Chan Date: Sat, 5 Nov 2022 04:48:21 -0400 Subject: [PATCH] [workflows] GitHub CI should build with assertions enabled --- .github/workflows/build_flang.yml | 2 +- .github/workflows/build_flang_arm64.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_flang.yml b/.github/workflows/build_flang.yml index 2f019b0e656..062da9194f6 100644 --- a/.github/workflows/build_flang.yml +++ b/.github/workflows/build_flang.yml @@ -86,7 +86,7 @@ jobs: - name: Build and install flang & libpgmath run: | ${{ env.install_prefix }}/bin/clang --version - ./build-flang.sh -t ${{ matrix.target }} -p ${{ env.install_prefix }} -n $(nproc) -c -s -v + ./build-flang.sh -t ${{ matrix.target }} -d RelWithDebInfo -p ${{ env.install_prefix }} -n $(nproc) -c -s -v - name: Copy llvm-lit run: | diff --git a/.github/workflows/build_flang_arm64.yml b/.github/workflows/build_flang_arm64.yml index 8d4a07c4814..ac20c0a2894 100644 --- a/.github/workflows/build_flang_arm64.yml +++ b/.github/workflows/build_flang_arm64.yml @@ -54,7 +54,7 @@ jobs: - name: Build and install flang & libpgmath run: | cd ${{ env.build_path }}/flang - ./build-flang.sh -t ${{ matrix.target }} -p ${{ env.install_prefix }} -n `nproc --ignore=1` -v + ./build-flang.sh -t ${{ matrix.target }} -d RelWithDebInfo -p ${{ env.install_prefix }} -n `nproc --ignore=1` -v # Copy llvm-lit - name: Copy llvm-lit