Build win64 binaries
This commit is contained in:
parent
c90afe1ece
commit
444218dbec
|
@ -53,7 +53,7 @@ jobs:
|
|||
os: linux
|
||||
language: generic
|
||||
sudo: yes
|
||||
script: echo "Deploying to GitHub releases ..." && ./release-windows.sh
|
||||
script: echo "Deploying to GitHub releases ..." && ./release-windows.sh && ARCH=64 ./release-windows.sh
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
IF "%DC%"=="" SET DC="dmd"
|
||||
IF "%MFLAGS%"=="" SET MFLAGS="-m32"
|
||||
|
||||
set containers_modules=
|
||||
for /r "containers/src" %%F in (*.d) do call set containers_modules=%%containers_modules%% "%%F"
|
||||
|
@ -32,6 +33,7 @@ set server_name=bin\dcd-server
|
|||
%msgspack_modules%^
|
||||
-Imsgpack-d\src^
|
||||
-release -inline -O -wi^
|
||||
%MFLAGS%^
|
||||
-of%client_name%
|
||||
|
||||
%DC%^
|
||||
|
@ -47,6 +49,7 @@ set server_name=bin\dcd-server
|
|||
-Ilibdparse/src^
|
||||
-Istdx-allocator/source^
|
||||
-wi -O -release^
|
||||
%MFLAGS%^
|
||||
-of%server_name%
|
||||
|
||||
if exist %server_name%.obj del %server_name%.obj
|
||||
|
|
|
@ -3,7 +3,14 @@
|
|||
set -eux -o pipefail
|
||||
VERSION=$(git describe --abbrev=0 --tags)
|
||||
OS=windows
|
||||
ARCH_SUFFIX="x86"
|
||||
if [ "${ARCH:-32}" == "64" ] ; then
|
||||
ARCH_SUFFIX="x86_64"
|
||||
export MFLAGS="-m64"
|
||||
else
|
||||
ARCH_SUFFIX="x86"
|
||||
export MFLAGS="-m32"
|
||||
fi
|
||||
|
||||
|
||||
# Allow the script to be run from anywhere
|
||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
|
|
Loading…
Reference in New Issue