Starship/.github/workflows/mac.yml

29 lines
793 B
YAML
Raw Permalink Normal View History

name: MacOS Validation
2024-12-09 08:55:56 +03:00
on:
pull_request:
branches: [ "*" ]
2024-12-09 08:55:56 +03:00
jobs:
build:
runs-on: macOS-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Install dependencies
run: brew install sdl2 libpng glew ninja cmake libzip nlohmann-json tinyxml2 spdlog
- name: Build
run: |
cmake -H. -Bbuild-cmake -GNinja -DCMAKE_BUILD_TYPE=Release
cmake --build build-cmake -j
- name: Create Package
run: |
mkdir starship-release
2024-12-09 09:08:07 +03:00
mv build-cmake/Starship starship-release/
2024-12-09 08:55:56 +03:00
- name: Publish packaged artifacts
uses: actions/upload-artifact@v4
with:
name: starship-mac-x64
path: starship-release
retention-days: 1