Skip to content
Snippets Groups Projects

Resolve "Provide precompiled binaries for easier install"

Merged Agate requested to merge 5-binaries into master
1 file
+ 53
5
Compare changes
  • Side-by-side
  • Inline
+ 53
5
stages:
stages:
- test
# - test
 
- build
variables:
variables:
PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"
PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"
@@ -8,12 +9,59 @@ cache:
@@ -8,12 +9,59 @@ cache:
paths:
paths:
- .cache/pip
- .cache/pip
test:
# test:
stage: test
# stage: test
image: python:3.6
# image: python:3.6
 
# before_script:
 
# - pip install .[dev]
 
# script:
 
# - 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…" && ./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:
 
name: cdrx/pyinstaller-windows:python3
 
entrypoint: bash
 
variables:
 
CI_DEBUG_TRACE: "true"
before_script:
before_script:
 
 
- wine
- pip install .[dev]
- pip install .[dev]
script:
script:
- pytest
- pyinstaller --clean -y cli.spec --distpath .
 
- echo "Testing the generated CLI works…" && wine ./funkwhale.exe --help && echo "funkwhale CLI working \o/"
 
artifacts:
 
name: "linux_${CI_COMMIT_REF_NAME}"
 
paths:
 
- funkwhale
 
# only:
 
# - tags@funkwhale/funkwhale
 
# - master@funkwhale/funkwhale
 
tags:
tags:
- docker
- docker
 
- debug
Loading