2727 sudo apt-get update
2828 sudo apt-get install -y libgtk-3-dev ninja-build clang-format zip
2929
30- - name : Configure native build
31- run : cmake -S . -B build/native -G Ninja -DCMAKE_BUILD_TYPE=Release
32- shell : bash
33-
34- - name : Build native library
35- run : cmake --build build/native --config Release
30+ - name : Package native artifacts
31+ run : ./build/build.sh Release --skip-dotnet --skip-tests
3632 shell : bash
3733
3834 - name : Determine runtime identifier
5046 uses : actions/upload-artifact@v4
5147 with :
5248 name : native-linux
53- path : |
54- build/native/src/native/libnativemessagebox.*
55- build/native/src/native/nmb_sanity_test*
49+ path : artifacts/native-linux-*.zip
5650
5751 native-macos :
5852 runs-on : macos-latest
7468 brew update
7569 brew install gtk+3 ninja clang-format
7670
77- - name : Configure native build
78- run : cmake -S . -B build/native -G Ninja -DCMAKE_BUILD_TYPE=Release
79- shell : bash
80-
81- - name : Build native library
82- run : cmake --build build/native --config Release
71+ - name : Package native artifacts
72+ run : ./build/build.sh Release --skip-dotnet --skip-tests
8373 shell : bash
8474
8575 - name : Determine runtime identifier
9787 uses : actions/upload-artifact@v4
9888 with :
9989 name : native-macos
100- path : |
101- build/native/src/native/libnativemessagebox.dylib
102- build/native/src/native/nmb_sanity_test
90+ path : artifacts/native-osx-*.zip
10391
10492 native-windows :
10593 runs-on : windows-latest
@@ -120,12 +108,8 @@ jobs:
120108 run : choco install ninja -y
121109 shell : powershell
122110
123- - name : Configure native build
124- run : cmake -S . -B build/native -G Ninja -DCMAKE_BUILD_TYPE=Release
125- shell : bash
126-
127- - name : Build native library
128- run : cmake --build build/native --config Release
111+ - name : Package native artifacts
112+ run : ./build/build.sh Release --skip-dotnet --skip-tests
129113 shell : bash
130114
131115 - name : Determine runtime identifier
@@ -143,9 +127,7 @@ jobs:
143127 uses : actions/upload-artifact@v4
144128 with :
145129 name : native-windows
146- path : |
147- build/native/src/native/nativemessagebox.dll
148- build/native/src/native/nmb_sanity_test.exe
130+ path : artifacts/native-win-*.zip
149131
150132 ios-xcframework :
151133 runs-on : macos-latest
0 commit comments