File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -61,3 +61,32 @@ gh release upload v1.1.0.1 \
6161 build/GPUBench-1.1.0.1-Linux.tar.gz \
6262 --clobber
6363```
64+
65+ ---
66+
67+ ## 3. macOS Releases (Local macOS Machine)
68+
69+ If you compile for macOS, those packages (DMG, Tarball) are built locally on a macOS machine and uploaded manually using the GitHub CLI.
70+
71+ ### Step 1: Build and Package Locally
72+ ``` bash
73+ # Navigate to the build directory
74+ cd build
75+
76+ # Configure and compile release targets
77+ cmake .. -DCMAKE_BUILD_TYPE=Release
78+ cmake --build . --parallel $( sysctl -n hw.ncpu)
79+
80+ # Generate DMG installer and tarball
81+ cpack -G DragNDrop
82+ cpack -G TGZ
83+ ```
84+
85+ ### Step 2: Upload to GitHub Release
86+ ``` bash
87+ # Upload assets to the corresponding tag
88+ gh release upload v1.1.0.1 \
89+ build/GPUBench-1.1.0.1-Darwin.dmg \
90+ build/GPUBench-1.1.0.1-Darwin.tar.gz \
91+ --clobber
92+ ```
You can’t perform that action at this time.
0 commit comments