Skip to content

SDL_RWops use utf-8 path and not local encoding as FILE. So use `… #18

SDL_RWops use utf-8 path and not local encoding as FILE. So use `…

SDL_RWops use utf-8 path and not local encoding as FILE. So use `… #18

name: premake5-macos
on:
workflow_dispatch:
push:
paths:
- 'src/**'
- '.github/workflows/premake5-macos.yml'
- 'premake5.lua'
pull_request:
paths:
- 'src/**'
- '.github/workflows/premake5-macos.yml'
- 'premake5.lua'
jobs:
macos:
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: install dependencies SDL2 ogg vorbis
run: brew install sdl2 libogg libvorbis
- name: checkout premake5
uses: actions/checkout@v3
with:
repository: premake/premake-core
path: premake-build
- name: Build premake5
run: |
cd premake-build
make -f Bootstrap.mak osx CONFIG=release
cp bin/release/premake5 ../
cd ..
rm -Rf premake-build
- name: run premake5
run: ./premake5 xcode4 --to=solution/xcode4/resinstaller
- name: build
run: |
cd solution/xcode4/resinstaller/
xcodebuild -project resinstaller.xcodeproj -configuration Release -scheme resinstaller build