Added macOS build script for pipeline.
This commit is contained in:
parent
104f7c465e
commit
e8d3b9da46
12
appveyor.yml
12
appveyor.yml
|
@ -13,6 +13,9 @@ environment:
|
||||||
appveyor_build_worker_image: Ubuntu2004
|
appveyor_build_worker_image: Ubuntu2004
|
||||||
#appveyor_build_worker_image: Ubuntu1804
|
#appveyor_build_worker_image: Ubuntu1804
|
||||||
|
|
||||||
|
- job_name: macOS
|
||||||
|
appveyor_build_worker_image: macos
|
||||||
|
|
||||||
for:
|
for:
|
||||||
|
|
||||||
-
|
-
|
||||||
|
@ -38,3 +41,12 @@ for:
|
||||||
|
|
||||||
build_script:
|
build_script:
|
||||||
- sh: ./pipelines/linux_build.sh
|
- sh: ./pipelines/linux_build.sh
|
||||||
|
|
||||||
|
-
|
||||||
|
matrix:
|
||||||
|
only:
|
||||||
|
- job_name: macOS
|
||||||
|
|
||||||
|
build_script:
|
||||||
|
- sh: ./pipelines/macOS_build.sh
|
||||||
|
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
|
|
||||||
id
|
id
|
||||||
pwd
|
pwd
|
||||||
|
uname -a
|
||||||
cat /etc/os-release
|
cat /etc/os-release
|
||||||
|
|
||||||
SCRIPT_DIR=$( cd $(dirname $BASH_SOURCE[0]); pwd );
|
SCRIPT_DIR=$( cd $(dirname $BASH_SOURCE[0]); pwd );
|
||||||
|
|
|
@ -0,0 +1,24 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
echo ' MacOS Build !!! '
|
||||||
|
id
|
||||||
|
pwd
|
||||||
|
uname -a
|
||||||
|
sw_vers
|
||||||
|
|
||||||
|
SCRIPT_DIR=$( cd $(dirname $BASH_SOURCE[0]); pwd );
|
||||||
|
|
||||||
|
gcc --version
|
||||||
|
|
||||||
|
echo '****************************************'
|
||||||
|
echo "APPVEYOR_SSH_KEY=$APPVEYOR_SSH_KEY";
|
||||||
|
echo "APPVEYOR_SSH_BLOCK=$APPVEYOR_SSH_BLOCK";
|
||||||
|
echo '****************************************'
|
||||||
|
|
||||||
|
brew install sdl2
|
||||||
|
brew install qt5
|
||||||
|
|
||||||
|
# Debug via ssh if necessary
|
||||||
|
if [ ! -z $APPVEYOR_SSH_BLOCK ]; then
|
||||||
|
curl -sflL 'https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-ssh.sh' | bash -e -
|
||||||
|
fi
|
Loading…
Reference in New Issue