From ba10e14d83c5bffaa5df3fb10f964dd0fdbaa617 Mon Sep 17 00:00:00 2001 From: such-gitea Date: Sun, 4 Jan 2026 12:43:31 -0800 Subject: [PATCH] Add .gitea/workflows/build.yaml --- .gitea/workflows/build.yaml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .gitea/workflows/build.yaml diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml new file mode 100644 index 0000000..4053363 --- /dev/null +++ b/.gitea/workflows/build.yaml @@ -0,0 +1,31 @@ +name: Build Wowlet +on: [push] + +jobs: + build-macos: + runs-on: macos-latest # Runs on your Mac Mini + steps: + - name: Checkout + uses: actions/checkout@v3 + with: + submodules: recursive # Wowlet/Wownero usually need submodules + + - name: Prepare Environment + run: | + echo "Checking dependency versions..." + cmake --version + qmake --version || echo "QMake found via brew" + + - name: Build macOS + run: | + mkdir build + cd build + # Standard CMake build for Mac + cmake .. -DCMAKE_PREFIX_PATH=$(brew --prefix qt@5) -DCMAKE_BUILD_TYPE=Release + make -j$(sysctl -n hw.ncpu) + + - name: Upload Artifact + uses: actions/upload-artifact@v3 + with: + name: wowlet-macos + path: build/wowlet.app \ No newline at end of file