...
 
Commits (2)
......@@ -26,7 +26,7 @@ build-linux:
- pip install .[dev]
script:
- pyinstaller --clean -y cli.spec --distpath .
- echo "Testing the generated CLI works…" && ./funkwhale --help && echo "funkwhale CLI working \o/"
- echo "Testing the generated CLI works…" && (./funkwhale --help | grep uploads) && echo "funkwhale CLI working \o/"
artifacts:
name: "linux_${CI_COMMIT_REF_NAME}"
paths:
......@@ -51,7 +51,7 @@ build-windows:
# CI_DEBUG_TRACE: "true"
script:
- docker run --rm -v "$(pwd):/src/" cdrx/pyinstaller-windows:python3 "pip install -r requirements-dev.txt && pyinstaller --clean -y cli.spec --distpath ."
- docker run --rm -v "$(pwd):/src/" cdrx/pyinstaller-windows:python3 "echo 'Testing the generated CLI works…' && wine ./funkwhale.exe --help && echo 'funkwhale CLI working \o/'"
- docker run --rm -v "$(pwd):/src/" cdrx/pyinstaller-windows:python3 "echo 'Testing the generated CLI works…' && (wine ./funkwhale.exe --help | grep uploads) && echo 'funkwhale CLI working \o/'"
artifacts:
name: "linux_${CI_COMMIT_REF_NAME}"
paths:
......