Skip to content

.github/workflows/build-macos.yml #3

.github/workflows/build-macos.yml

.github/workflows/build-macos.yml #3

Workflow file for this run

on:
workflow_dispatch:
jobs:
build:
# strategy:
# matrix:
# arch: [x86_64, arm64]
runs-on: macos-15
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
submodules: recursive
- name: Set up Xcode 15
run: sudo xcode-select -switch /Applications/Xcode_15.0.app
- name: Configure CMake
run: |
cmake --preset Release
-G Xcode \
-DCMAKE_OSX_ARCHITECTURES=arm64;x86_64 \
-DCMAKE_OSX_DEPLOYMENT_TARGET=11.6
- name: Build PartStacker
run: cmake --build --preset Release
- name: Upload
uses: actions/upload-artifact@v4
with:
name: PartStackerGUI-mac
path: ./bin/
- name: Testing
run: ls ./bin
- name: Testing
run: ls ./bin/Release