Rename .jenkins to a more generic .ci
This commit is contained in:
parent
485403ac65
commit
ab0a8fa4f8
4
.jenkins/Jenkinsfile → .ci/Jenkinsfile
vendored
4
.jenkins/Jenkinsfile → .ci/Jenkinsfile
vendored
@ -23,11 +23,11 @@ def gitClone() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
def windowsBuild() {
|
def windowsBuild() {
|
||||||
bat 'C:\\msys64\\msys2_shell.cmd -msys2 -defterm -here -no-start -c "exec .jenkins/build.sh"'
|
bat 'C:\\msys64\\msys2_shell.cmd -msys2 -defterm -here -no-start -c "exec .ci/build.sh"'
|
||||||
}
|
}
|
||||||
|
|
||||||
def unixBuild() {
|
def unixBuild() {
|
||||||
sh 'chmod u+x .jenkins/build.sh && .jenkins/build.sh'
|
sh 'chmod u+x .ci/build.sh && .ci/build.sh'
|
||||||
}
|
}
|
||||||
|
|
||||||
def saveArtifacts() {
|
def saveArtifacts() {
|
@ -259,7 +259,7 @@ EOF
|
|||||||
[ "$arch" = "32" -a -d "/c/Program Files (x86)" ] && pf="/c/Program Files (x86)"
|
[ "$arch" = "32" -a -d "/c/Program Files (x86)" ] && pf="/c/Program Files (x86)"
|
||||||
|
|
||||||
# Archive freetype from local MSYS installation.
|
# Archive freetype from local MSYS installation.
|
||||||
./.jenkins/static2dll.sh -p freetype2 /$MSYSTEM/lib/libfreetype.a archive_tmp/libfreetype-6.dll
|
.ci/static2dll.sh -p freetype2 /$MSYSTEM/lib/libfreetype.a archive_tmp/libfreetype-6.dll
|
||||||
|
|
||||||
# Archive Ghostscript DLL from local official distribution installation.
|
# Archive Ghostscript DLL from local official distribution installation.
|
||||||
for gs in "$pf"/gs/gs*.*.*
|
for gs in "$pf"/gs/gs*.*.*
|
||||||
@ -268,9 +268,9 @@ EOF
|
|||||||
done
|
done
|
||||||
|
|
||||||
# Archive Discord Game SDK DLL from their CDN.
|
# Archive Discord Game SDK DLL from their CDN.
|
||||||
discordarch=
|
local discordarch=
|
||||||
[ "$arch" = "32" ] && discordarch=x86
|
[ "$arch" = "32" ] && local discordarch=x86
|
||||||
[ "$arch" = "64" ] && discordarch=x86_64
|
[ "$arch" = "64" ] && local discordarch=x86_64
|
||||||
if [ ! -z "$discordarch" ]
|
if [ ! -z "$discordarch" ]
|
||||||
then
|
then
|
||||||
[ ! -e "discord_game_sdk.zip" ] && wget -qOdiscord_game_sdk.zip https://dl-game-sdk.discordapp.net/2.5.6/discord_game_sdk.zip
|
[ ! -e "discord_game_sdk.zip" ] && wget -qOdiscord_game_sdk.zip https://dl-game-sdk.discordapp.net/2.5.6/discord_game_sdk.zip
|
||||||
@ -282,7 +282,7 @@ EOF
|
|||||||
|
|
||||||
# Archive executable.
|
# Archive executable.
|
||||||
mv "$build_dir"/src/$project.exe archive_tmp/
|
mv "$build_dir"/src/$project.exe archive_tmp/
|
||||||
status=$?
|
local status=$?
|
||||||
elif is_mac
|
elif is_mac
|
||||||
then
|
then
|
||||||
# TBD
|
# TBD
|
||||||
@ -301,7 +301,7 @@ EOF
|
|||||||
|
|
||||||
# Archive executable.
|
# Archive executable.
|
||||||
mv "$build_dir"/src/$project archive_tmp/
|
mv "$build_dir"/src/$project archive_tmp/
|
||||||
status=$?
|
local status=$?
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Check if the executable move succeeded.
|
# Check if the executable move succeeded.
|
Loading…
x
Reference in New Issue
Block a user