ci: Workaround safe directory errors in vkd3d_build generation.
See https://github.com/actions/checkout/issues/760 for reference. Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
This commit is contained in:
parent
25c4bc18e7
commit
0c4df9b32c
|
@ -19,6 +19,7 @@ jobs:
|
|||
with:
|
||||
command: |
|
||||
export VERSION_NAME="${GITHUB_REF##*/}-${GITHUB_SHA##*/}"
|
||||
git config --global --add safe.directory "$GITHUB_WORKSPACE"
|
||||
./package-release.sh ${VERSION_NAME} build --no-package
|
||||
echo "VERSION_NAME=${VERSION_NAME}" >> $GITHUB_ENV
|
||||
|
||||
|
|
|
@ -21,6 +21,7 @@ jobs:
|
|||
uses: Joshua-Ashton/arch-mingw-github-action@v7
|
||||
with:
|
||||
command: |
|
||||
git config --global --add safe.directory "$GITHUB_WORKSPACE"
|
||||
meson -Denable_tests=True -Denable_extras=True --cross-file=build-win32.txt --buildtype release build-mingw-x86
|
||||
ninja -C build-mingw-x86
|
||||
|
||||
|
@ -29,6 +30,7 @@ jobs:
|
|||
uses: Joshua-Ashton/arch-mingw-github-action@v7
|
||||
with:
|
||||
command: |
|
||||
git config --global --add safe.directory "$GITHUB_WORKSPACE"
|
||||
meson -Denable_tests=True -Denable_extras=True --cross-file=build-win64.txt --buildtype release build-mingw-x64
|
||||
ninja -C build-mingw-x64
|
||||
|
||||
|
@ -40,6 +42,7 @@ jobs:
|
|||
export CC="gcc -m32"
|
||||
export CXX="g++ -m32"
|
||||
export PKG_CONFIG_PATH="/usr/lib32/pkgconfig:/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig"
|
||||
git config --global --add safe.directory "$GITHUB_WORKSPACE"
|
||||
meson -Denable_tests=True -Denable_extras=True --buildtype release build-native-gcc-x86
|
||||
ninja -C build-native-gcc-x86
|
||||
|
||||
|
@ -50,6 +53,7 @@ jobs:
|
|||
command: |
|
||||
export CC="gcc"
|
||||
export CXX="g++"
|
||||
git config --global --add safe.directory "$GITHUB_WORKSPACE"
|
||||
meson -Denable_tests=True -Denable_extras=True --buildtype release build-native-gcc-x64
|
||||
ninja -C build-native-gcc-x64
|
||||
|
||||
|
@ -61,6 +65,7 @@ jobs:
|
|||
export CC="clang -m32"
|
||||
export CXX="clang++ -m32"
|
||||
export PKG_CONFIG_PATH="/usr/lib32/pkgconfig:/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig"
|
||||
git config --global --add safe.directory "$GITHUB_WORKSPACE"
|
||||
meson -Denable_tests=True -Denable_extras=True --buildtype release build-native-clang-x86
|
||||
ninja -C build-native-clang-x86
|
||||
|
||||
|
@ -71,5 +76,6 @@ jobs:
|
|||
command: |
|
||||
export CC="clang"
|
||||
export CXX="clang++"
|
||||
git config --global --add safe.directory "$GITHUB_WORKSPACE"
|
||||
meson -Denable_tests=True -Denable_extras=True --buildtype release build-native-clang-x64
|
||||
ninja -C build-native-clang-x64
|
||||
|
|
Loading…
Reference in New Issue