Skip to content

Commit

Permalink
workflows/build: explicitly define CXX in the env
Browse files Browse the repository at this point in the history
  • Loading branch information
llyyr committed Sep 26, 2023
1 parent 57273e8 commit 57cb39d
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ jobs:
matrix:
cc:
- "clang"
cxx:
- "clang++"
os:
- "macos-11"
- "macos-12"
Expand All @@ -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
Expand All @@ -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

Expand Down

0 comments on commit 57cb39d

Please sign in to comment.