Fix CI tests + translator issue #192
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: SplashKit Core macOS | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: macos-latest | |
env: | |
SDL_AUDIODRIVER: disk | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: 'recursive' | |
- name: build | |
working-directory: ./projects/cmake | |
run: | | |
cmake . | |
make -j 2 | |
- name: execute | |
working-directory: ./bin | |
run: ./skunit_tests | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 3.3.3 # Not needed with a .ruby-version file | |
bundler-cache: true # runs 'bundle install' and caches installed gems automatically | |
- name: translate | |
working-directory: ./tools/translator | |
run: | | |
bundle install | |
bundle exec translate -v -i ../../ |