|
|
@ -74,6 +74,7 @@ jobs: |
|
|
|
cmake \ |
|
|
|
cmake \ |
|
|
|
-B build \ |
|
|
|
-B build \ |
|
|
|
-G "Ninja" \ |
|
|
|
-G "Ninja" \ |
|
|
|
|
|
|
|
-DBUILD_SHARED_LIBS=OFF \ |
|
|
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo \ |
|
|
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo \ |
|
|
|
-DCMAKE_CXX_STANDARD=17 \ |
|
|
|
-DCMAKE_CXX_STANDARD=17 \ |
|
|
|
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON \ |
|
|
|
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON \ |
|
|
@ -124,7 +125,17 @@ jobs: |
|
|
|
|
|
|
|
|
|
|
|
- name: Prepare build artifacts |
|
|
|
- name: Prepare build artifacts |
|
|
|
run: | |
|
|
|
run: | |
|
|
|
|
|
|
|
# create .dmg |
|
|
|
|
|
|
|
appName="qbittorrent" |
|
|
|
|
|
|
|
if [ "${{ matrix.qbt_gui }}" = "GUI=OFF" ]; then |
|
|
|
|
|
|
|
appName="qbittorrent-nox" |
|
|
|
|
|
|
|
fi |
|
|
|
|
|
|
|
pushd build |
|
|
|
|
|
|
|
macdeployqt "$appName.app" -dmg -no-strip |
|
|
|
|
|
|
|
popd |
|
|
|
|
|
|
|
# prepare upload folder |
|
|
|
mkdir upload |
|
|
|
mkdir upload |
|
|
|
|
|
|
|
cp "build/$appName.dmg" upload |
|
|
|
mkdir upload/cmake |
|
|
|
mkdir upload/cmake |
|
|
|
cp build/compile_commands.json upload/cmake |
|
|
|
cp build/compile_commands.json upload/cmake |
|
|
|
mkdir upload/cmake/libtorrent |
|
|
|
mkdir upload/cmake/libtorrent |
|
|
@ -133,5 +144,5 @@ jobs: |
|
|
|
- name: Upload build artifacts |
|
|
|
- name: Upload build artifacts |
|
|
|
uses: actions/upload-artifact@v3 |
|
|
|
uses: actions/upload-artifact@v3 |
|
|
|
with: |
|
|
|
with: |
|
|
|
name: build-info_macOS_${{ matrix.qbt_gui }}_libtorrent-${{ matrix.libt_version }}_Qt-${{ matrix.qt_version }} |
|
|
|
name: qBittorrent-CI_macOS_${{ matrix.qbt_gui }}_libtorrent-${{ matrix.libt_version }}_Qt-${{ matrix.qt_version }} |
|
|
|
path: upload |
|
|
|
path: upload |
|
|
|