kopia lustrzana https://github.com/jaseg/gerbolyze
31 wiersze
888 B
YAML
31 wiersze
888 B
YAML
|
|
build:svg-flatten-wasi:
|
|
stage: build
|
|
image: "registry.gitlab.com/gerbolyze/build-containers/archlinux:latest"
|
|
script:
|
|
- git config --global --add safe.directory "$CI_PROJECT_DIR"
|
|
- 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:svg-flatten-wasi:
|
|
stage: publish
|
|
variables:
|
|
GIT_SUBMODULE_STRATEGY: none
|
|
image: "registry.gitlab.com/gerbolyze/build-containers/archlinux:latest"
|
|
cache: {}
|
|
script:
|
|
- pip install -U --user --break-system-packages twine
|
|
- export TWINE_USERNAME TWINE_PASSWORD
|
|
- twine upload svg-flatten/dist/*
|
|
dependencies:
|
|
- build:svg-flatten-wasi
|
|
only:
|
|
- /^v.*$/
|