diff options
author | jaseg <git@jaseg.de> | 2021-09-26 15:45:09 +0200 |
---|---|---|
committer | jaseg <git@jaseg.de> | 2021-09-29 16:38:13 +0200 |
commit | 8a64621e8c8610a45884df82b46859bc3297d3e3 (patch) | |
tree | 4b6265bb01377e16e66dddeee8259f40ea86d562 /svg-flatten/svg-flatten-wasi-ci.yml | |
parent | 7eb0b9d7e42a20b85bd7afbfe3d33d9dd5fa5794 (diff) | |
download | gerbolyze-8a64621e8c8610a45884df82b46859bc3297d3e3.tar.gz gerbolyze-8a64621e8c8610a45884df82b46859bc3297d3e3.tar.bz2 gerbolyze-8a64621e8c8610a45884df82b46859bc3297d3e3.zip |
CI/svg-flatten: add wasm builds
Diffstat (limited to 'svg-flatten/svg-flatten-wasi-ci.yml')
-rw-r--r-- | svg-flatten/svg-flatten-wasi-ci.yml | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/svg-flatten/svg-flatten-wasi-ci.yml b/svg-flatten/svg-flatten-wasi-ci.yml new file mode 100644 index 0000000..44d997d --- /dev/null +++ b/svg-flatten/svg-flatten-wasi-ci.yml @@ -0,0 +1,27 @@ + +build:wasi-svg-flatten: + stage: build + image: "registry.gitlab.com/gerbolyze/build-containers/archlinux:latest" + script: + - cd svg-flatten # we start out in the repo's root + - make -j 2 build/svg-flatten.wasm + - cp build/svg-flatten.wasm svg_flatten_wasi/ + - python3 setup.py bdist_wheel + - cd .. + artifacts: + name: "gerbolyze-$CI_COMMIT_REF_NAME-svg-flatten-wasi" + paths: + - svg-flatten/dist/*.whl + +publish:wasi-svg-flatten: + stage: publish + image: "registry.gitlab.com/gerbolyze/build-containers/archlinux:latest" + cache: {} + script: + - pip install -U --user twine + - export TWINE_USERNAME TWINE_PASSWORD + - ~/.local/bin/twine upload svg-flatten/dist/* + dependencies: + - build:wasi-svg-flatten + only: + - /^v.*$/ |