MacOS Build #8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: MacOS Build | |
on: | |
workflow_dispatch: # Enable manual execution | |
jobs: | |
build: | |
runs-on: macos-latest | |
steps: | |
# Checkout the repository | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
# Set up Go | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: 1.23 | |
# Install dependencies and run the tests | |
- name: Install Dependencies | |
run: | | |
brew install make | |
make format | |
make test | |
continue-on-error: false | |
# Build the application | |
- name: Build for MacOS | |
run: | | |
make build-macos | |
continue-on-error: false | |
# Debug: List Build Directory | |
- name: List Build Directory | |
run: ls -R bin | |
# Upload Build Artifact | |
- name: Upload Build Artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: gogg-macos-universal | |
path: 'bin/gogg' |