Merge pull request #263 from Eddio0141/255-test-initializing-structur… #653
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: build-on-push | |
on: [ push ] | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ windows-latest, ubuntu-latest ] | |
configuration: [ Debug, Release ] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v3.0.3 | |
with: | |
dotnet-version: '6.0.x' | |
- name: Setup ffmpeg | |
uses: FedericoCarboni/setup-ffmpeg@v2 | |
- name: Tests | |
run: dotnet test UniTAS --configuration ${{ matrix.configuration }} | |
- name: Build | |
run: dotnet build UniTAS --configuration ${{ matrix.configuration }} | |
- name: Get built artifacts | |
uses: actions/upload-artifact@v3.1.1 | |
with: | |
name: ${{ matrix.os }}-${{ matrix.configuration }} | |
path: ./UniTAS/Patcher/bin/${{ matrix.configuration }} |