Skip to content
Snippets Groups Projects
Commit 7a18a813 authored by Jono Wenger's avatar Jono Wenger
Browse files

Make CI/CD upload artifacts

parent 0deddaaf
No related branches found
No related tags found
1 merge request!60Revert "Fail a test to be sure it works"
image: docker-registry.xx.network/elixxir/sysadmin/backend-ci:go1.17-wasm image: docker-registry.xx.network/elixxir/sysadmin/backend-ci:go1.17-wasm
build: build:
stage: build stage: build
script: script:
- GOOS=js GOARCH=wasm go build -o xxdk.wasm - go mod vendor -v
artifacts: - mkdir -p release
paths: - GOOS=js GOARCH=wasm go build -ldflags '-w -s' -o release/xxdk.wasm ./...
- xxdk.wasm artifacts:
paths:
- release/
#native-test: #native-test:
# stage: test # stage: test
...@@ -14,7 +16,7 @@ build: ...@@ -14,7 +16,7 @@ build:
# - go test ./... # - go test ./...
wasm-test: wasm-test:
stage: test stage: test
script: script:
- export PATH=/root/go/bin:$PATH - export PATH=/root/go/bin:$PATH
- GOOS=js GOARCH=wasm go test ./... - GOOS=js GOARCH=wasm go test ./...
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment