forked from such-gitea/wownero-lws
31 lines
837 B
YAML
31 lines
837 B
YAML
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 |