Add project setting for unicode isolation #3
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: Ensure build works | |
on: | |
pull_request: | |
branches: [ master ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
compile-windows-forked: | |
name: Windows [Forked] | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: robinraju/[email protected] | |
name: Download Forked Godot | |
with: | |
latest: true | |
repository: RedMser/godot | |
fileName: 'windows-editor.zip' | |
extract: true | |
out-file-path: ./build | |
- name: Set executable env var | |
run: echo "GODOT4_BIN=$env:GITHUB_WORKSPACE/build/godot.windows.editor.x86_64.exe" >> $env:GITHUB_ENV | |
- name: Build | |
working-directory: ./rust | |
run: cargo build --features forked-godot | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: forked.windows.godot_fluent_translation.debug | |
path: rust/target/debug/godot_fluent_translation.dll | |
compile-linux-default: | |
name: Linux [Default] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: robinraju/[email protected] | |
name: Download Latest Godot | |
with: | |
repository: 'godotengine/godot-builds' | |
fileName: 'Godot_v4.3-dev6_linux.x86_64.zip' | |
tag: '4.3-dev6' | |
extract: true | |
out-file-path: ./build | |
- name: Make downloaded file executable | |
run: chmod +x ./build/Godot_v4.3-dev6_linux.x86_64 | |
- name: Set executable env var | |
run: echo "GODOT4_BIN=$GITHUB_WORKSPACE/build/Godot_v4.3-dev6_linux.x86_64" >> $GITHUB_ENV | |
- name: Build | |
working-directory: ./rust | |
run: cargo build --features custom-godot | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: default.linux.godot_fluent_translation.debug | |
path: rust/target/debug/libgodot_fluent_translation.so |