Skip to content

zig fmt to latest 0.11-dev support and remove SDL example #257

zig fmt to latest 0.11-dev support and remove SDL example

zig fmt to latest 0.11-dev support and remove SDL example #257

Workflow file for this run

name: MacOS
on: [push, pull_request]
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
fetch-depth: 0
- uses: goto-bus-stop/setup-zig@v2
with:
version: master
- name: Install deps
env:
VLC_PLUGIN_PATH: /Applications/VLC.app/Contents/MacOS/lib
run: |
brew install sdl2 && \
brew install --cask VLC && \
sudo ln -s /Applications/VLC.app/Contents/MacOS/include/vlc /usr/local/include/ && \
sudo ln -s /Applications/VLC.app/Contents/MacOS/lib/* /usr/local/lib/
- name: Build
run: zig build --summary all -freference-trace
- name: run print_version (example)
run: zig build run