1616 with :
1717 submodules : recursive
1818 - name : install dependencies
19- run : HOMEBREW_NO_AUTO_UPDATE=1 brew install boost hidapi openssl zmq libsodium miniupnpc unbound libunwind-headers protobuf qt5 pkg-config
19+ run : HOMEBREW_NO_AUTO_UPDATE=1 brew install boost hidapi ninja openssl zmq libsodium unbound protobuf qt5 pkg-config
2020 - name : build
21- run : DEV_MODE=ON make release -j3
21+ run : DEV_MODE=ON make release
2222 - name : test qml
2323 run : build/release/bin/monero-wallet-gui.app/Contents/MacOS/monero-wallet-gui --test-qml
2424
@@ -38,11 +38,11 @@ jobs:
3838 - name : update apt
3939 run : sudo apt update
4040 - name : install monero dependencies
41- run : sudo apt -y install build-essential cmake libboost-all-dev miniupnpc libunbound-dev graphviz doxygen libunwind8-dev pkg-config libssl-dev libzmq3-dev libsodium-dev libhidapi-dev libnorm-dev libusb-1.0-0-dev libpgm-dev libprotobuf-dev protobuf-compiler
41+ run : sudo apt -y install build-essential cmake ninja-build libboost-all-dev libunbound-dev graphviz doxygen pkg-config libssl-dev libzmq3-dev libsodium-dev libhidapi-dev libnorm-dev libusb-1.0-0-dev libpgm-dev libprotobuf-dev protobuf-compiler
4242 - name : install monero gui dependencies
4343 run : sudo apt -y install qtbase5-dev qtdeclarative5-dev qml-module-qtqml-models2 qml-module-qtquick-controls qml-module-qtquick-controls2 qml-module-qtquick-dialogs qml-module-qtquick-xmllistmodel qml-module-qt-labs-settings qml-module-qt-labs-platform qml-module-qt-labs-folderlistmodel qttools5-dev-tools qml-module-qtquick-templates2 libqt5svg5-dev libgcrypt20-dev xvfb
4444 - name : build
45- run : DEV_MODE=ON make release -j3
45+ run : DEV_MODE=ON make release
4646 - name : test qml
4747 run : xvfb-run -a build/release/bin/monero-wallet-gui --test-qml
4848
@@ -60,15 +60,15 @@ jobs:
6060 msystem : ucrt64
6161 update : true
6262 install : make
63- pacboy : toolchain:p pcre:p cmake:p boost:p openssl:p zeromq:p libsodium:p hidapi:p protobuf-c:p libusb:p unbound:p git qt5:p libgcrypt:p angleproject:p
63+ pacboy : toolchain:p pcre:p cmake:p ninja:p boost:p openssl:p zeromq:p libsodium:p hidapi:p protobuf-c:p libusb:p unbound:p git qt5:p libgcrypt:p angleproject:p
6464 - name : add qmake.exe and windeployqt.exe
6565 run : |
6666 cp -f "$MSYSTEM_PREFIX/bin/qmake-qt5.exe" "$MSYSTEM_PREFIX/bin/qmake.exe"
6767 cp -f "$MSYSTEM_PREFIX/bin/windeployqt-qt5.exe" "$MSYSTEM_PREFIX/bin/windeployqt.exe"
6868 - name : build
69- run : DEV_MODE=ON make release-win64 -j2
69+ run : DEV_MODE=ON make release-win64
7070 - name : deploy
71- run : make deploy
71+ run : cmake --build . --target deploy
7272 working-directory : build/release
7373 - name : test qml
7474 run : build/release/bin/monero-wallet-gui --test-qml
8080 with :
8181 submodules : recursive
8282 - name : install dependencies
83- run : HOMEBREW_NO_AUTO_UPDATE=1 brew install boost hidapi openssl zmq miniupnpc unbound libunwind-headers protobuf pkg-config
83+ run : HOMEBREW_NO_AUTO_UPDATE=1 brew install boost hidapi ninja openssl zmq unbound protobuf pkg-config
8484 - name : clone qt repo
8585 run : git clone -b "${QT_TAG}" --recursive --depth 1 --shallow-submodules https://github.com/qt/qt5
8686 - name : build qt from source
@@ -101,10 +101,10 @@ jobs:
101101 - name : build monero-gui
102102 run : |
103103 mkdir build && cd build
104- cmake -D CMAKE_BUILD_TYPE=Release -D ARCH=default -D CMAKE_PREFIX_PATH="${QT_PREFIX}" ..
105- make -j"$(sysctl -n hw.ncpu)"
104+ cmake -G Ninja - D CMAKE_BUILD_TYPE=Release -D ARCH=default -D CMAKE_PREFIX_PATH="${QT_PREFIX}" ..
105+ cmake --build .
106106 - name : deploy
107- run : make deploy
107+ run : cmake --build . --target deploy
108108 working-directory : build
109109 - name : test qml
110110 run : build/bin/monero-wallet-gui.app/Contents/MacOS/monero-wallet-gui --test-qml
@@ -129,7 +129,7 @@ jobs:
129129 - name : prepare build environment
130130 run : docker build --tag monero:build-env-linux --build-arg THREADS=3 --file Dockerfile.linux .
131131 - name : build
132- run : docker run --rm -v /home/runner/work/monero-gui/monero-gui:/monero-gui -w /monero-gui monero:build-env-linux sh -c 'make release-static -j3 '
132+ run : docker run --rm -v /home/runner/work/monero-gui/monero-gui:/monero-gui -w /monero-gui monero:build-env-linux sh -c 'make release-static'
133133 - name : sha256sum
134134 run : shasum -a256 /home/runner/work/monero-gui/monero-gui/build/release/bin/monero-wallet-gui
135135 - name : test qml
@@ -152,7 +152,7 @@ jobs:
152152 - name : prepare build environment
153153 run : docker build --tag monero:build-env-windows --build-arg THREADS=3 --file Dockerfile.windows .
154154 - name : build
155- run : docker run --rm -v /home/runner/work/monero-gui/monero-gui:/monero-gui -w /monero-gui monero:build-env-windows sh -c 'make depends root=/depends target=x86_64-w64-mingw32 tag=win-x64 -j3 '
155+ run : docker run --rm -v /home/runner/work/monero-gui/monero-gui:/monero-gui -w /monero-gui monero:build-env-windows sh -c 'make depends root=/depends target=x86_64-w64-mingw32 tag=win-x64'
156156 - name : sha256sum
157157 run : shasum -a256 /home/runner/work/monero-gui/monero-gui/build/x86_64-w64-mingw32/release/bin/monero-wallet-gui.exe
158158 - uses : actions/upload-artifact@v4
@@ -173,14 +173,14 @@ jobs:
173173 - name : prepare build environment
174174 run : docker build --tag monero:build-env-android --build-arg THREADS=3 --file Dockerfile.android .
175175 - name : build
176- run : docker run --rm -v /home/runner/work/monero-gui/monero-gui:/monero-gui -e THREADS=3 monero:build-env-android
176+ run : docker run --rm -v /home/runner/work/monero-gui/monero-gui:/monero-gui monero:build-env-android
177177 - uses : actions/upload-artifact@v4
178178 with :
179179 name : ${{ github.job }}
180180 path : /home/runner/work/monero-gui/monero-gui/build/Android/release/android-build/monero-gui.apk
181181
182182 source-archive :
183- runs-on : ubuntu-22.04
183+ runs-on : ubuntu-slim
184184 steps :
185185 - uses : actions/checkout@v1
186186 with :
0 commit comments