mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-09-21 09:05:10 -07:00
disable ccache if not explicitly enabled
This commit is contained in:
parent
09b55b118a
commit
16ff75c20f
3 changed files with 4 additions and 2 deletions
|
|
@ -124,6 +124,9 @@ set -e
|
||||||
|
|
||||||
# Setup
|
# Setup
|
||||||
./servatrice/check_schema_version.sh
|
./servatrice/check_schema_version.sh
|
||||||
|
if [[ ! $USE_CCACHE ]]; then
|
||||||
|
USE_CCACHE=0
|
||||||
|
fi
|
||||||
if [[ ! $BUILDTYPE ]]; then
|
if [[ ! $BUILDTYPE ]]; then
|
||||||
BUILDTYPE=Release
|
BUILDTYPE=Release
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
1
.github/workflows/desktop-build.yml
vendored
1
.github/workflows/desktop-build.yml
vendored
|
|
@ -325,7 +325,6 @@ jobs:
|
||||||
qt_version: 6.11.0
|
qt_version: 6.11.0
|
||||||
qt_modules: qtimageformats qtmultimedia qtwebsockets
|
qt_modules: qtimageformats qtmultimedia qtwebsockets
|
||||||
type: Release
|
type: Release
|
||||||
use_ccache: 0
|
|
||||||
|
|
||||||
name: ${{ matrix.os }} ${{ matrix.target }}${{ matrix.soc == 'Intel' && ' Intel' || '' }}${{ matrix.type == 'Debug' && ' Debug' || '' }}
|
name: ${{ matrix.os }} ${{ matrix.target }}${{ matrix.soc == 'Intel' && ' Intel' || '' }}${{ matrix.type == 'Debug' && ' Debug' || '' }}
|
||||||
needs: configure
|
needs: configure
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ declare -i schema_ver="${version_line%%)*}"
|
||||||
latest_migration="$(ls -1 servatrice/migrations/ | tail -n1)"
|
latest_migration="$(ls -1 servatrice/migrations/ | tail -n1)"
|
||||||
xtoysql="${latest_migration#servatrice_}"
|
xtoysql="${latest_migration#servatrice_}"
|
||||||
xtoy="${xtoysql%.sql}"
|
xtoy="${xtoysql%.sql}"
|
||||||
declare -i old_ver="10#${xtoy%_to_*}" #declare as integer with base 10, numbers with a leading 0 are normally interpreted as base 16
|
declare -i old_ver="10#${xtoy%_to_*}" # declare as integer with base 10, numbers with a leading 0 are normally interpreted as base 16
|
||||||
declare -i new_ver="10#${xtoy#*_to_}"
|
declare -i new_ver="10#${xtoy#*_to_}"
|
||||||
|
|
||||||
if ((old_ver >= new_ver)); then
|
if ((old_ver >= new_ver)); then
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue