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:
stages:
- test
- test
 
- build
variables:
variables:
PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"
PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"
@@ -17,3 +18,43 @@ test:
@@ -17,3 +18,43 @@ test:
- pytest
- pytest
tags:
tags:
- docker
- 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