mirror of
https://github.com/mpv-player/mpv
synced 2025-03-11 08:37:59 +00:00
workflows/build: explicitly define CXX
in the env
This commit is contained in:
parent
3ad384a768
commit
b4da71af2b
18
.github/workflows/build.yml
vendored
18
.github/workflows/build.yml
vendored
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user