mirror of
https://git.sr.ht/~thestr4ng3r/chiaki
synced 2025-08-19 21:13:12 -07:00
Add macOS to AppVeyor
This commit is contained in:
parent
bf929cacd0
commit
db5b3a1499
3 changed files with 48 additions and 21 deletions
|
@ -1,4 +1,6 @@
|
||||||
image: 'Visual Studio 2017'
|
image:
|
||||||
|
- macOS
|
||||||
|
- 'Visual Studio 2019'
|
||||||
|
|
||||||
branches:
|
branches:
|
||||||
only:
|
only:
|
||||||
|
@ -9,26 +11,50 @@ branches:
|
||||||
configuration:
|
configuration:
|
||||||
- Release
|
- Release
|
||||||
|
|
||||||
install:
|
for:
|
||||||
- git submodule update --init --recursive
|
- matrix:
|
||||||
|
only:
|
||||||
|
- image: 'Visual Studio 2019'
|
||||||
|
|
||||||
build_script:
|
install:
|
||||||
- call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" x64
|
- git submodule update --init --recursive
|
||||||
- C:\msys64\usr\bin\bash -lc "cd \"%APPVEYOR_BUILD_FOLDER%\" && scripts/appveyor.sh"
|
|
||||||
|
|
||||||
artifacts:
|
build_script:
|
||||||
- path: Chiaki
|
- call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsall.bat" x64
|
||||||
name: Chiaki
|
- C:\msys64\usr\bin\bash -lc "cd \"%APPVEYOR_BUILD_FOLDER%\" && scripts/appveyor-win.sh"
|
||||||
- path: Chiaki-PDB
|
|
||||||
name: Chiaki-PDB
|
|
||||||
|
|
||||||
deploy:
|
artifacts:
|
||||||
description: 'Chiaki Binaries'
|
- path: Chiaki
|
||||||
provider: GitHub
|
name: Chiaki
|
||||||
draft: true
|
- path: Chiaki-PDB
|
||||||
auth_token:
|
name: Chiaki-PDB
|
||||||
secure: Amvzm3PMM5nv+iFsqaU7TZ9fgyYt/YIrOLV0QMiCyOoUlLRIaiYxWiJ7maTpxhZ9
|
|
||||||
artifact: "Chiaki"
|
|
||||||
on:
|
|
||||||
appveyor_repo_tag: true
|
|
||||||
|
|
||||||
|
- matrix:
|
||||||
|
only:
|
||||||
|
- image: macOS
|
||||||
|
|
||||||
|
install:
|
||||||
|
- git submodule update --init --recursive
|
||||||
|
- sudo pip3 install protobuf
|
||||||
|
- brew install qt 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"
|
||||||
|
- scripts/build-common.sh
|
||||||
|
- cp -a build/gui/chiaki.app Chiaki.app
|
||||||
|
- /usr/local/opt/qt/bin/macdeployqt Chiaki.app -dmg
|
||||||
|
|
||||||
|
artifacts:
|
||||||
|
- path: Chiaki.dmg
|
||||||
|
name: Chiaki
|
||||||
|
|
||||||
|
#deploy:
|
||||||
|
# description: 'Chiaki Binaries'
|
||||||
|
# provider: GitHub
|
||||||
|
# draft: true
|
||||||
|
# auth_token:
|
||||||
|
# secure: Amvzm3PMM5nv+iFsqaU7TZ9fgyYt/YIrOLV0QMiCyOoUlLRIaiYxWiJ7maTpxhZ9
|
||||||
|
# artifact: "Chiaki"
|
||||||
|
# on:
|
||||||
|
# appveyor_repo_tag: true
|
||||||
|
|
|
@ -10,4 +10,5 @@ cmake \
|
||||||
$CMAKE_EXTRA_ARGS \
|
$CMAKE_EXTRA_ARGS \
|
||||||
.. || exit 1
|
.. || exit 1
|
||||||
make -j4 || exit 1
|
make -j4 || exit 1
|
||||||
test/chiaki-unit || exit 1
|
test/chiaki-unit || exit 1
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue