From b4da71af2b33769cab794ea1e6b4c27ad06f74ae Mon Sep 17 00:00:00 2001 From: llyyr Date: Tue, 26 Sep 2023 17:42:31 +0530 Subject: [PATCH] workflows/build: explicitly define `CXX` in the env --- .github/workflows/build.yml | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f08864bd12..1513bd3142 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -82,6 +82,8 @@ jobs: matrix: cc: - "clang" + cxx: + - "clang++" os: - "macos-12" - "macos-13" @@ -104,6 +106,7 @@ jobs: ./ci/build-macos.sh env: CC: "${{ matrix.cc }}" + CXX: "${{ matrix.cxx }}" TRAVIS_OS_NAME: "${{ matrix.os }}" - name: Print meson log @@ -126,12 +129,19 @@ jobs: container: image: "registry.opensuse.org/home/mia/images/images/mpv-ci:stable-deps" env: - CC: "${{ matrix.cc }}" + CC: "${{ matrix.config.cc }}" + CXX: "${{ matrix.config.cxx }}" strategy: matrix: - cc: - - "gcc" - - "clang" + config: + - { + cc: "gcc", + cxx: "g++", + } + - { + cc: "clang", + cxx: "clang++", + } steps: - uses: actions/checkout@v3