Skip to content

Commit

Permalink
fix build system
Browse files Browse the repository at this point in the history
  • Loading branch information
purpl3F0x authored and Stavros Avramidis committed Nov 25, 2021
1 parent a4b775f commit 9869499
Showing 1 changed file with 25 additions and 24 deletions.
49 changes: 25 additions & 24 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,41 +5,43 @@ branches:
- master

environment:
global:
APPVEYOR_SAVE_CACHE_ON_ERROR: true
APPVEYOR_CACHE_ENTRY_ZIP_ARGS: -t7z -m0=lzma -mx=4

matrix:
- ARCH: x64
- job_name: Windows (MSVC)
ARCH: x64
COMPILER: VS2019
QTDIR: C:\Qt\6.2\msvc2019_64
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019

- job_name: Mac OSX (Clang)
APPVEYOR_BUILD_WORKER_IMAGE: macOS-BigSur

- ARCH: x64
COMPILER: Clang

image:
- Visual Studio 2019
- macOS-Mojave
matrix:
fast_finish: true

#image:
# - Visual Studio 2019
# - macOS-Mojave
platform:
- x64
configuration:
- Release


matrix:
exclude:
# Exclude invalid options
- image: Visual Studio 2019
COMPILER: CLang

- image: macos-mojave
COMPILER: VS2019
#matrix:
# exclude:
# # Exclude invalid options
# - image: Visual Studio 2019
# COMPILER: CLang
#
# - image: macos-mojave
# COMPILER: VS2019

for:
- # Windows
matrix:
only:
- image: Visual Studio 2019
- job_name: Windows (MSVC)

before_build:
- set SOURCEDIR=%cd%
Expand Down Expand Up @@ -80,24 +82,23 @@ for:
- # Mac
matrix:
only:
- image: macos-mojave
- job_name: Mac OSX (Clang)

before_build:
- export PATH=$HOME/Qt/6.2.0/clang_64/bin:$PATH
# before_build:
# - export PATH=$HOME/Qt/6.2.0/macos/bin/:$PATH

build_script:
- mkdir build
- cd build
- cmake -G"Unix Makefiles" -DCMAKE_BUILD_TYPE=RELEASE -DVERSION=$APPVEYOR_BUILD_VERSION ../ -DQt6_DIR=$HOME/Qt/6.2.0/macos/lib/cmake/Qt6 -DQt6CoreTools_DIR=$HOME/Qt/6.2.0/macos/lib/cmake/Qt6CoreTools -DQt6GuiTools_DIR=$HOME/Qt/6.2.0/macos/lib/cmake/Qt6GuiTools -DQt6WidgetsTools_DIR=$HOME/Qt/6.2.0/macos/lib/cmake/Qt6WidgetsTools ..
- cmake --build .
- $HOME/Qt/6.2.0/clang_64/bin/macdeployqt tidal-rpc.app -dmg
- $HOME/Qt/6.2.0/macos/bin/macdeployqt tidal-rpc.app -dmg

after_build:
- echo $APPVEYOR_BUILD_FOLDER
- ls
- pwd


artifacts:
- path: build/tidal-rpc.dmg
name: tidal-rpc.dmg
Expand Down

0 comments on commit 9869499

Please sign in to comment.