Skip to content

Translator show languages loaded #384

Translator show languages loaded

Translator show languages loaded #384

Workflow file for this run

name: Engine automated tests
on:
push:
branches: [master, experimental]
pull_request:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
test-linux:
runs-on: ubuntu-26.04
name: Build and Test Engine package on linux
steps:
- uses: actions/checkout@v3
- uses: mlugg/setup-zig@v2
with:
version: master
- run: sudo apt install -y ffmpeg
- run: sudo apt install -y libsdl3-0
- run: sudo apt install -y libsdl3-mixer0
- run: zig build test
test-macos:
runs-on: macos-latest
name: Build and Test Engine package on MacOS
steps:
- uses: actions/checkout@v3
- uses: mlugg/setup-zig@v2
with:
version: master
- run: brew install ffmpeg
- run: zig build test
build-docs:
runs-on: macos-latest
#runs-on: ubuntu-26.04
needs: test-macos
steps:
- uses: actions/checkout@v3
- uses: mlugg/setup-zig@v2
with:
version: master
- name: Build docs
run: zig build docs
- name: Upload artifact
if: github.ref == 'refs/heads/master' && github.event_name == 'push'
uses: actions/upload-pages-artifact@v4
with:
path: zig-out/docs
deploy-docs:
needs: build-docs
if: github.ref == 'refs/heads/master' && github.event_name == 'push'
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4