Skip to content
Snippets Groups Projects

Resolve "Provide precompiled binaries for easier install"

Merged Agate requested to merge 5-binaries into master
1 file
+ 41
0
Compare changes
  • Side-by-side
  • Inline
+ 41
0
stages:
- test
- build
variables:
PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"
@@ -17,3 +18,43 @@ test:
- pytest
tags:
- docker
build-linux:
stage: build
image: python:3.6
before_script:
- pip install .[dev]
script:
- pyinstaller --clean -y cli.spec --distpath .
- echo "Testing the generated CLI works…" && ./dist/funkwhale --help && echo "funkwhale CLI working \o/"
artifacts:
name: "linux_${CI_COMMIT_REF_NAME}"
paths:
- funkwhale
# only:
# - tags@funkwhale/funkwhale
# - master@funkwhale/funkwhale
tags:
- docker
build-windows:
stage: build
image: cdrx/pyinstaller-windows:python3
before_script:
- pip install .[dev]
script:
- pyinstaller --clean -y cli.spec --distpath .
- echo "Testing the generated CLI works…" && ./dist/funkwhale --help && echo "funkwhale CLI working \o/"
artifacts:
name: "linux_${CI_COMMIT_REF_NAME}"
paths:
- funkwhale
# only:
# - tags@funkwhale/funkwhale
# - master@funkwhale/funkwhale
tags:
- docker
Loading