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