Files
Blitz/.github/workflows/macos.yml
Simon Pribylski b94b28d717 Github: add macOs action (#2)
* Create macos.yml

* Fix macos.yml

* remove anonymous namespace identifier

* forgot one ...

* fix macos build

* add tests for macos.yml

* macOS action trigger only on main or PR
2023-12-18 18:05:41 +01:00

33 lines
575 B
YAML

name: macOS
on:
pull_request:
push:
branches: main
jobs:
build:
strategy:
fail-fast: false
runs-on: macos-latest
concurrency:
group: ${{ github.ref }}-${{ github.base_ref }}-${{ github.head_ref }}-macOS
cancel-in-progress: true
steps:
- uses: actions/checkout@v1
- uses: xmake-io/github-action-setup-xmake@v1
with:
xmake-version: branch@master
- name: Prepare XMake
run: xmake f -p macosx -y
- name: Build
run: xmake
- name: Test
run: xmake test