mirror of
https://github.com/OpenMW/openmw.git
synced 2025-06-27 12:11:35 +00:00
[CI] Revert ccache script forking, rename try, cleanup
This commit is contained in:
parent
faa9af4428
commit
adc4698c44
4 changed files with 3 additions and 19 deletions
|
@ -511,7 +511,7 @@ Ubuntu_GCC_integration_tests_asan:
|
||||||
- CI/macos/ccache_prep.sh
|
- CI/macos/ccache_prep.sh
|
||||||
- CI/before_script.macos.sh
|
- CI/before_script.macos.sh
|
||||||
- CI/macos/build.sh
|
- CI/macos/build.sh
|
||||||
- for dmg in *.dmg; do mv "$dmg" "${dmg%.dmg}_${CI_COMMIT_REF_NAME##*/}_${DMG_IDENTIFIER}.dmg"; done
|
- for dmg in *.dmg; do mv "$dmg" "${dmg%.dmg}_${DMG_IDENTIFIER}_${CI_COMMIT_REF_NAME##*/}.dmg"; done
|
||||||
- |
|
- |
|
||||||
if [[ -n "${AWS_ACCESS_KEY_ID}" ]]; then
|
if [[ -n "${AWS_ACCESS_KEY_ID}" ]]; then
|
||||||
echo "[default]" > ~/.s3cfg
|
echo "[default]" > ~/.s3cfg
|
||||||
|
@ -526,7 +526,7 @@ Ubuntu_GCC_integration_tests_asan:
|
||||||
s3cmd put "${dmg}" s3://openmw-artifacts/${artifactDirectory}
|
s3cmd put "${dmg}" s3://openmw-artifacts/${artifactDirectory}
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
- CI/macos/ccache_save.sh
|
- ccache -s
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- build/OpenMW-*.dmg
|
- build/OpenMW-*.dmg
|
||||||
|
|
|
@ -12,9 +12,5 @@ command -v qmake >/dev/null 2>&1 || brew install qt@6
|
||||||
# Install deps
|
# Install deps
|
||||||
brew install openal-soft icu4c yaml-cpp sqlite
|
brew install openal-soft icu4c yaml-cpp sqlite
|
||||||
|
|
||||||
ccache --version
|
|
||||||
cmake --version
|
|
||||||
qmake --version
|
|
||||||
|
|
||||||
curl -fSL -R -J https://gitlab.com/OpenMW/openmw-deps/-/raw/main/macos/openmw-deps-20240818-arm64.tar.xz -o ~/openmw-deps.tar.xz
|
curl -fSL -R -J https://gitlab.com/OpenMW/openmw-deps/-/raw/main/macos/openmw-deps-20240818-arm64.tar.xz -o ~/openmw-deps.tar.xz
|
||||||
tar xf ~/openmw-deps.tar.xz -C /tmp > /dev/null
|
tar xf ~/openmw-deps.tar.xz -C /tmp > /dev/null
|
||||||
|
|
|
@ -3,10 +3,5 @@
|
||||||
export CCACHE_BASEDIR="$(pwd)"
|
export CCACHE_BASEDIR="$(pwd)"
|
||||||
export CCACHE_DIR="$(pwd)/ccache"
|
export CCACHE_DIR="$(pwd)/ccache"
|
||||||
mkdir -pv "${CCACHE_DIR}"
|
mkdir -pv "${CCACHE_DIR}"
|
||||||
ccache -z -M "${CCACHE_SIZE}"
|
|
||||||
|
|
||||||
if [[ "${MACOS_AMD64}" ]]; then
|
ccache -z -M "${CCACHE_SIZE}"
|
||||||
arch -x86_64 ccache -z -M "${CCACHE_SIZE}"
|
|
||||||
else
|
|
||||||
ccache -z -M "${CCACHE_SIZE}"
|
|
||||||
fi
|
|
||||||
|
|
|
@ -1,7 +0,0 @@
|
||||||
#!/bin/sh -ex
|
|
||||||
|
|
||||||
if [[ "${MACOS_AMD64}" ]]; then
|
|
||||||
arch -x86_64 ccache -s
|
|
||||||
else
|
|
||||||
ccache -s
|
|
||||||
fi
|
|
Loading…
Reference in a new issue