Skip to content

Commit

Permalink
ci: static link AppVeyor binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
JaCzekanski committed May 23, 2020
1 parent 7c49d43 commit 541d1e5
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions .travis/android/run-container.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ fi
mkdir -p "$HOME/.ccache"

docker run \
-e CI=$CI \
-v $(pwd):/home/build \
-v "$HOME/.ccache":/root/.ccache \
-e keystore_password="$keystore_password" \
Expand Down
1 change: 1 addition & 0 deletions .travis/linux/run-container.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ CLANG_VERSION=${1:-6}
mkdir -p "$HOME/.ccache"

docker run \
-e CI=$CI \
-v $(pwd):/home/build \
-v "$HOME/.ccache":/root/.ccache \
avocadoemu/linux-clang$CLANG_VERSION \
Expand Down
7 changes: 6 additions & 1 deletion premake5.lua
Original file line number Diff line number Diff line change
Expand Up @@ -133,10 +133,15 @@ filter "configurations:Release"
optimize "Full"

filter {"configurations:Release"}
if os.getenv("CI") == true then
if os.getenv("CI") ~= nil then
flags { "LinkTimeOptimization" }
end

filter {"configurations:Release", "system:linux"}
if os.getenv("CI") ~= nil then
linkoptions { "-static-libstdc++" }
end

include "premake/chdr.lua"
include "premake/flac.lua"
include "premake/glad.lua"
Expand Down

0 comments on commit 541d1e5

Please sign in to comment.