From 57cb39dc8e61e62d6c534d6d0ec7ea7c430247cb 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 bffbe5afe8b74..6dacde52d3c1d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -76,6 +76,8 @@ jobs: matrix: cc: - "clang" + cxx: + - "clang++" os: - "macos-11" - "macos-12" @@ -99,6 +101,7 @@ jobs: ./ci/build-macos.sh env: CC: "${{ matrix.cc }}" + CXX: "${{ matrix.cxx }}" TRAVIS_OS_NAME: "${{ matrix.os }}" - name: Print meson log @@ -121,12 +124,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