Skip to content

Commit

Permalink
CI: build windows binaries only
Browse files Browse the repository at this point in the history
  • Loading branch information
tobydox committed Feb 5, 2020
1 parent c403168 commit 9282c34
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
5 changes: 2 additions & 3 deletions .ci/windows/build.sh
Expand Up @@ -17,11 +17,10 @@ cmake $BASEDIR -DCMAKE_TOOLCHAIN_FILE=$BASEDIR/cmake/modules/Win${1}Toolchain.cm
echo Building on $CPUS CPUs

if [ -z "$2" ] ; then
make -j$CPUS
make win-nsi
make windows-binaries -j$CPUS
else
make ${@:2} -j$CPUS
fi

mv -v veyon*setup.exe $BASEDIR
mv veyon-win* $BASEDIR

8 changes: 4 additions & 4 deletions .gitlab-ci.yml
Expand Up @@ -3,22 +3,22 @@ image: docker:latest
stages:
- build

build-win32-installer:
build-win32:
stage: build
image: $IMAGE
script:
- .ci/windows/build.sh 32
artifacts:
paths: [ "*.exe" ]
paths: [ veyon-win32* ]
expire_in: 1 day

build-win64-installer:
build-win64:
stage: build
image: $IMAGE
script:
- .ci/windows/build.sh 64
artifacts:
paths: [ "*.exe" ]
paths: [ veyon-win64* ]
expire_in: 1 day

variables:
Expand Down

0 comments on commit 9282c34

Please sign in to comment.