Skip to content

More clearly separated the color key from the general transparency #320

More clearly separated the color key from the general transparency

More clearly separated the color key from the general transparency #320

Workflow file for this run

name: Build - MacOS
on: [push, pull_request, workflow_dispatch]
jobs:
macos:
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
runs-on: macos-12
steps:
- uses: actions/checkout@v4
with:
submodules: 'recursive'
- name: Install dependencies
run: brew install SDL2 SDL2_image SDL2_mixer
- name: Configure
run: cmake -B build -DUSE_SDL2_LIBS=ON -DUSE_PNG_SAVE=ON -DSMW_INSTALL_PORTABLE=ON
- name: Build
run: cmake --build build --verbose
- name: Package
run: |
cmake --install build --prefix supermariowar --strip
rm -rf supermariowar/include supermariowar/lib
zip -9 -r "supermariowar_$(date +%F)_macos.zip" supermariowar
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: supermariowar_macos
path: supermariowar_*_macos.zip