Skip to content

chore: clean up gnb docs and temp files #13

chore: clean up gnb docs and temp files

chore: clean up gnb docs and temp files #13

Workflow file for this run

name: MacOS CI (Self)
on:
pull_request:
branches: [main, dev, 'releases/**']
push:
branches: [main, 'releases/**']
paths:
- '.github/workflows/**'
- 'src/**'
- 'assets/shaders/**'
- 'tools/gnb/**'
- 'gnb.*'
- '**/CMakeLists.txt'
jobs:
build:
runs-on: [self-hosted, macOS]
steps:
- uses: actions/checkout@v4
with:
clean: false
- uses: actions/setup-go@v5
with:
go-version-file: tools/gnb/go.mod
- name: Build latest gnb
run: |
cd tools/gnb
go build -trimpath -ldflags="-s -w -X main.version=$(git -C "$GITHUB_WORKSPACE" rev-parse HEAD)" -o "$GITHUB_WORKSPACE/gnb" ./cmd/gnb
- run: ./gnb.sh setup
- run: ./gnb.sh build