Skip to content

redo with the correct format #8

redo with the correct format

redo with the correct format #8

Workflow file for this run

name: Build
on:
push:
branches:
- gui
jobs:
macOS:
strategy:
fail-fast: true
name: macOS
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Homebrew
id: set-up-homebrew
uses: Homebrew/actions/setup-homebrew@master
- name: Setup Homebrew packages
id: set-up-packages
run: brew install cmake imagemagick boost libxml2 wxwidgets
- name: Build
run: |
mkdir build
cd build
echo "::group::CMake"
cmake .. \
-DCMAKE_CXX_STANDARD_INCLUDE_DIRECTORIES=$HOMEBREW_PREFIX/include \
-DCMAKE_CXX_STANDARD_LIBRARIES=-L$HOMEBREW_PREFIX/lib
-DWARP_SABRE_VERSION=v2.0.0.$GITHUB_RUN_NUMBER
# EOF
echo "::endgroup::"
echo "::group::Build"
cmake --build .
echo "::endgroup::"
- name: Package
run: |
mkdir warp-sabre
cp build/{cleartiles,gentiles,gentiles-gui,warp-sabre,warp-sabre-gui} AUTHORS COPYING INSTALL README \
warp-sabre
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: warp-sabre-gui-macos-$GITHUB_RUN_NUMBER
path: warp-sabre