From b54c9e419f70a39665607a7da0e17148d58dc323 Mon Sep 17 00:00:00 2001 From: Zephyr Lykos Date: Fri, 11 Oct 2024 11:21:08 +0800 Subject: [PATCH] fixup! ci: test more targets --- .github/workflows/main.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 03507a82..b30a6bb5 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -18,11 +18,13 @@ jobs: mode: - name: default args: -Dtests=enabled + extra_envs: {} - name: sanitize args: >- "-Db_sanitize=address,undefined" - name: sanitize+asanonly # For Visual Studio args: -Db_sanitize=address + extra_envs: {} - name: clang+sanitize args: >- "-Db_sanitize=address,undefined" @@ -71,10 +73,12 @@ jobs: uses: actions/checkout@v4 - name: Activate MSVC and Configure if: ${{ matrix.platform == 'windows-2022' }} + env: ${{ matrix.mode.extra_envs }} run: | meson setup build-${{ matrix.flavor }} --buildtype=${{ matrix.flavor }} ${{ matrix.mode.args }} --vsenv - name: Configuring if: ${{ matrix.platform != 'windows-2022' }} + env: ${{ matrix.mode.extra_envs }} run: | meson setup build-${{ matrix.flavor }} --buildtype=${{ matrix.flavor }} ${{ matrix.mode.args }} - name: Building