1
0
forked from blue/squawk

fix ci for macos; adjust ci for linux executable with changed rpath

This commit is contained in:
shunf4 2021-10-06 18:12:26 +08:00
parent 8c6ac1a21d
commit 8b3752ef47

View File

@ -1,7 +1,7 @@
image: image:
- Visual Studio 2019 - Visual Studio 2019
- "Previous Ubuntu1804" - "Previous Ubuntu1804"
- macOS - macOS-Mojave
branches: branches:
except: except:
@ -60,7 +60,7 @@ for:
name: Squawk executable (Qt 5.15.2) name: Squawk executable (Qt 5.15.2)
- path: build/deploy - path: build/deploy
name: Squawk deployment name: Squawk deployment with Qt Framework
- -
matrix: matrix:
@ -79,13 +79,16 @@ for:
build_script: build_script:
- cmake --build . - cmake --build .
after_build:
- zip -r squawk.app.zip squawk.app
artifacts: artifacts:
- path: build/squawk - path: build/squawk.app/Contents/MacOS/squawk
name: Squawk executable (Qt 5.15.2) name: Squawk executable (Qt 5.15.2)
- path: build/external/qxmpp/src/ - path: build/external/qxmpp/src/
name: QXMPP name: QXMPP
- path: build/squawk.app - path: build/squawk.app.zip
name: Squawk Bundle (Qt 5.15.2) name: Squawk Bundle with Qt Framework (Qt 5.15.2)
- -
matrix: matrix:
@ -101,13 +104,14 @@ for:
before_build: before_build:
- mkdir build - mkdir build
- cd build - cd build
- cmake -DCMAKE_BUILD_TYPE:String=Release -DCMAKE_PREFIX_PATH:STRING=$HOME/Qt/5.12.10/gcc_64 .. - cmake -DCMAKE_BUILD_TYPE:String=Release -DCMAKE_PREFIX_PATH:STRING=$HOME/Qt/5.12.10/gcc_64 -DCMAKE_BUILD_RPATH="\$ORIGIN" ..
build_script: build_script:
- cmake --build . - cmake --build .
after_build:
- zip -r squawk.zip squawk -j external/qxmpp/src/libqxmpp*
artifacts: artifacts:
- path: build/squawk - path: build/squawk.zip
name: Squawk executable (Qt 5.12) name: Squawk executable and libraries (Qt 5.12)
- path: build/external/qxmpp/src/
name: QXMPP