Skip to content

[Rando] Fix Interlevel Area Changes with Shuffled Entrances #101

[Rando] Fix Interlevel Area Changes with Shuffled Entrances

[Rando] Fix Interlevel Area Changes with Shuffled Entrances #101

Workflow file for this run

name: MacOS Validation
on: [pull_request]
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Setup MacPorts
uses: melusina-org/setup-macports@v1
- name: Fix MacPorts permissions
run: sudo chown -R macports:macports /opt/local/var/macports/
- name: Install dependencies (Universal)
run: sudo port install libsdl2 libpng glew ninja cmake libzip nlohmann-json tinyxml2 spdlog vorbis-tools +universal
- name: Build (Universal)
run: |
# CMAKE_OSX_ARCHITECTURES triggers the dual-architecture build
cmake -H. -Bbuild-cmake -GNinja -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=/opt/local -Dfmt_DIR=/opt/local/lib/libfmt10/cmake/fmt "-DCMAKE_OSX_ARCHITECTURES=x86_64;arm64"
cmake --build build-cmake -j
- name: Create Package
run: |
mkdir ghostship-release
mv build-cmake/Ghostship ghostship-release/
- name: Publish packaged artifacts
uses: actions/upload-artifact@v4
with:
name: ghostship-mac-universal
path: ghostship-release
retention-days: 1