Commit ef7746ed authored by Millicent Billette's avatar Millicent Billette
Browse files

premier essai build windows auto

parent d6382263
Pipeline #3498 failed
...@@ -4,12 +4,20 @@ stages: ...@@ -4,12 +4,20 @@ stages:
buildWindows: buildWindows:
stage: builds stage: builds
variables: variables:
TAG: 1.test.1 TAG: 1.test.3
EXPECTED_ASSETS: cesium-desktop-1.test.1-windows-x64.exe EXPECTED_ASSETS: cesium-desktop-1.test.3-windows-x64.exe
tags: tags:
- shell - shell
script: script:
- ./release.sh 1.test.1 - wget https://git.duniter.org/clients/cesium-grp/cesium/-/jobs/artifacts/v1.test.3/download?job=release-web -O cesium-v$TAG-web.zip
- ./scripts/build.sh make win $TAG
- pwd
- ls arch/windows
artifacts:
untracked: true
paths:
- arch/windows
expire_in: 60 minutes
test: test:
stage: builds stage: builds
......
...@@ -34,6 +34,7 @@ make) ...@@ -34,6 +34,7 @@ make)
[[ $? -eq 0 ]] && cp ../../src/nw/package.json ./ [[ $? -eq 0 ]] && cp ../../src/nw/package.json ./
[[ $? -eq 0 ]] && cp ../../src/nw/LICENSE.txt ./ [[ $? -eq 0 ]] && cp ../../src/nw/LICENSE.txt ./
[[ $? -eq 0 ]] && cp ../../src/nw/cesium/node.js ./ [[ $? -eq 0 ]] && cp ../../src/nw/cesium/node.js ./
[[ $? -eq 0 ]] && cp "../../cesium-v$TAG-web.zip" ./
[[ $? -eq 0 ]] && echo ">> Starting Vagrant Windows VM..." [[ $? -eq 0 ]] && echo ">> Starting Vagrant Windows VM..."
[[ $? -eq 0 ]] && vagrant up [[ $? -eq 0 ]] && vagrant up
if [ ! $? -eq 0 ]; then if [ ! $? -eq 0 ]; then
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment