mirror of
https://git.sr.ht/~thestr4ng3r/chiaki
synced 2025-03-12 05:25:23 -07:00
* nanopb 0.4.6.4 with PB_C99_STATIC_ASSERT to avoid depending on C11 * OpenSSL 1.1.1q on windows * Switched from docker to podman in CI * Appdir in appimage build container is now in /build/appdir to fix "Invalid cross-device link" errors in linuxdeploy when appdir is in mount * Use python protobuf==3.19.5 in bionic image, which still supports python 3.6, and on windows where nanopb otherwise has issues * Purge nanopb_pb2.py to force regeneration of it for possibly different python protobuf versions in subsequent builds * FreeBSD needs py39 packages now
52 lines
1.2 KiB
YAML
52 lines
1.2 KiB
YAML
image:
|
|
- macOS
|
|
- 'Visual Studio 2019'
|
|
|
|
branches:
|
|
only:
|
|
- master
|
|
- develop
|
|
- /^v\d.*$/
|
|
- /^deploy-test(-.*)?$/
|
|
|
|
configuration:
|
|
- Release
|
|
|
|
for:
|
|
- matrix:
|
|
only:
|
|
- image: 'Visual Studio 2019'
|
|
|
|
install:
|
|
- git submodule update --init --recursive
|
|
|
|
build_script:
|
|
- call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsall.bat" x64
|
|
- C:\msys64\usr\bin\bash -lc "cd \"%APPVEYOR_BUILD_FOLDER%\" && scripts/appveyor-win.sh"
|
|
|
|
artifacts:
|
|
- path: Chiaki
|
|
name: Chiaki
|
|
- path: Chiaki-PDB
|
|
name: Chiaki-PDB
|
|
|
|
- matrix:
|
|
only:
|
|
- image: macOS
|
|
|
|
install:
|
|
- git submodule update --init --recursive
|
|
- sudo pip3 install protobuf
|
|
- brew install qt@5 opus openssl@1.1 nasm sdl2 protobuf
|
|
- scripts/build-ffmpeg.sh
|
|
|
|
build_script:
|
|
- export CMAKE_PREFIX_PATH="`pwd`/ffmpeg-prefix;/usr/local/opt/openssl@1.1;/usr/local/opt/qt@5"
|
|
- scripts/build-common.sh
|
|
- cp -a build/gui/chiaki.app Chiaki.app
|
|
- /usr/local/opt/qt@5/bin/macdeployqt Chiaki.app -dmg
|
|
|
|
artifacts:
|
|
- path: Chiaki.dmg
|
|
name: Chiaki
|