mirror of https://github.com/mpv-player/mpv
workflows/build: explicitly define `CXX` in the env
This commit is contained in:
parent
3ad384a768
commit
b4da71af2b
|
@ -82,6 +82,8 @@ jobs:
|
||||||
matrix:
|
matrix:
|
||||||
cc:
|
cc:
|
||||||
- "clang"
|
- "clang"
|
||||||
|
cxx:
|
||||||
|
- "clang++"
|
||||||
os:
|
os:
|
||||||
- "macos-12"
|
- "macos-12"
|
||||||
- "macos-13"
|
- "macos-13"
|
||||||
|
@ -104,6 +106,7 @@ jobs:
|
||||||
./ci/build-macos.sh
|
./ci/build-macos.sh
|
||||||
env:
|
env:
|
||||||
CC: "${{ matrix.cc }}"
|
CC: "${{ matrix.cc }}"
|
||||||
|
CXX: "${{ matrix.cxx }}"
|
||||||
TRAVIS_OS_NAME: "${{ matrix.os }}"
|
TRAVIS_OS_NAME: "${{ matrix.os }}"
|
||||||
|
|
||||||
- name: Print meson log
|
- name: Print meson log
|
||||||
|
@ -126,12 +129,19 @@ jobs:
|
||||||
container:
|
container:
|
||||||
image: "registry.opensuse.org/home/mia/images/images/mpv-ci:stable-deps"
|
image: "registry.opensuse.org/home/mia/images/images/mpv-ci:stable-deps"
|
||||||
env:
|
env:
|
||||||
CC: "${{ matrix.cc }}"
|
CC: "${{ matrix.config.cc }}"
|
||||||
|
CXX: "${{ matrix.config.cxx }}"
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
cc:
|
config:
|
||||||
- "gcc"
|
- {
|
||||||
- "clang"
|
cc: "gcc",
|
||||||
|
cxx: "g++",
|
||||||
|
}
|
||||||
|
- {
|
||||||
|
cc: "clang",
|
||||||
|
cxx: "clang++",
|
||||||
|
}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue