Update gitlab-ci scripts

parent d407e811
......@@ -11,8 +11,8 @@ compile-for-alpine:
before_script:
- apk add --no-cache build-base
script:
- sh ./build.sh
- mv dukboots dukboots-alpine
- make
- mv dukboot dukboot-alpine
artifacts:
paths:
- dukboots-alpine
......@@ -26,21 +26,21 @@ compile-for-ubuntu:
- apt-get install -y gcc build-essential
- gcc -v
script:
- sh ./build.sh
- mv dukboots dukboots-ubuntu
- make
- mv dukboot dukboot-ubuntu
artifacts:
paths:
- dukboots-ubuntu
- dukboot-ubuntu
compile-for-windows:
image: dockcross/windows-x64
stage: build
script:
- sh ./build.sh
- mv dukboots dukboots-windows.exe
- make
- mv dukboot dukboot-windows.exe
artifacts:
paths:
- dukboots-windows.exe
- dukboot-windows.exe
test-alpine:
stage: test
......@@ -49,7 +49,7 @@ test-alpine:
before_script:
- chmod +x test.sh
script:
- ./test.sh ./dukboots-alpine
- ./test.sh ./dukboot-alpine
test-ubuntu:
image: ubuntu
......@@ -59,7 +59,7 @@ test-ubuntu:
before_script:
- chmod +x test.sh
script:
- ./test.sh ./dukboots-ubuntu
- ./test.sh ./dukboot-ubuntu
publish-to-staging:
image: andthensome/alpine-surge-bash
......@@ -69,7 +69,7 @@ publish-to-staging:
- master
script:
- mkdir -p docs/releases/latest
- mv dukboots-* docs/releases/latest
- mv dukboot-* docs/releases/latest
- surge --project docs --domain dukboots-staging.surge.sh
publish-to-production:
......@@ -81,5 +81,5 @@ publish-to-production:
- master
script:
- mkdir -p docs/releases/latest
- mv dukboots-* docs/releases/latest
- mv dukboot-* docs/releases/latest
- surge --project docs --domain dukboots.surge.sh
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