From 08e51a7e90a7455850571f5d5842a76c0d3e5f8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ingo=20Bre=C3=9Fler?= Date: Thu, 20 Jun 2024 18:03:08 +0200 Subject: [PATCH] Update GHA & build script: test build mode --- .github/workflows/main.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 415a7db..c0fd010 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -19,8 +19,6 @@ jobs: os: ['ubuntu-22.04'] mode: ['release', 'debug'] runs-on: ${{ matrix.os }} - env: - - BUILD_MODE: ${{ matrix.mode }} steps: - name: Checking out the repo uses: actions/checkout@v4 @@ -51,8 +49,9 @@ jobs: - name: Building in Linux if: ${{ startsWith(matrix.os, 'ubuntu') }} env: - CC: clang-15 - CXX: clang-15++ + - BUILD_MODE: ${{ matrix.mode }} + - CC: clang-15 + - CXX: clang-15++ run: sh build.sh ## macOS ##