Skip to content

Merge pull request #304 from Eddio0141/247-multiple-fixedupdate-in-a-row #850

Merge pull request #304 from Eddio0141/247-multiple-fixedupdate-in-a-row

Merge pull request #304 from Eddio0141/247-multiple-fixedupdate-in-a-row #850

Workflow file for this run

name: build-on-push
on: [ push, pull_request ]
jobs:
buildAndTest:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4.1.6
with:
submodules: true
- name: Setup .NET
uses: actions/setup-dotnet@v4.0.0
# NOTE: this is replaced because of https://github.com/federicocarboni/setup-ffmpeg/issues/19
# - name: Setup ffmpeg
# uses: FedericoCarboni/setup-ffmpeg@v3.1
- name: Setup ffmpeg with retries
uses: ./.github/actions/setup-ffmpeg
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Tests
run: dotnet test UniTAS --configuration Release
- name: Build
run: dotnet build UniTAS --configuration Release
- name: Get built artifacts
uses: actions/upload-artifact@v4
with:
name: UniTAS
path: ./UniTAS/Patcher/bin/Release
- name: download test-runner
uses: dawidd6/action-download-artifact@v6
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
workflow: build-on-push.yml
branch: main
name: test-runner-unix
repo: Eddio0141/UniTASTestClients
path: test-runner
- name: copy UniTAS to test-runner directory
run: cp UniTAS/Patcher/bin/Release test-runner/UniTAS -r
- name: run test-runner
run: |
cd test-runner
chmod +x test-runner
./test-runner
- name: test-runner logs
uses: actions/upload-artifact@v4
with:
name: test-runner-logs
path: test-runner/logs