Add .gitea/workflows/build.yaml

This commit is contained in:
2026-01-04 12:43:31 -08:00
parent 3427c60315
commit ba10e14d83

View File

@@ -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