From e4a0432383331e013808a97b7c24707e4ddc4726 Mon Sep 17 00:00:00 2001 From: srdusr Date: Fri, 26 Sep 2025 12:23:19 +0200 Subject: Initial Commit --- .github/workflows/macos.yml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .github/workflows/macos.yml (limited to '.github/workflows/macos.yml') diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml new file mode 100644 index 0000000..08de482 --- /dev/null +++ b/.github/workflows/macos.yml @@ -0,0 +1,34 @@ +name: macOS (Cocoa + Ninja) + +on: + push: + branches: [ main, master ] + pull_request: + branches: [ main, master ] + +jobs: + build: + runs-on: macos-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Install dependencies + run: | + brew update + brew install ninja lua + + - name: Configure (Release, Ninja) + run: | + cmake -S . -B build-mac \ + -G Ninja \ + -DCMAKE_BUILD_TYPE=Release + + - name: Build (Release) + run: cmake --build build-mac -j + + - name: Upload artifact + uses: actions/upload-artifact@v4 + with: + name: SRDWM-macos-Release + path: build-mac/SRDWM -- cgit v1.2.3