Merge pull request #114 from InfiniteC0re/master #65
This file contains hidden or 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: Toshi | |
| on: [push] | |
| jobs: | |
| win: | |
| env: | |
| PREMAKE_VERSION: 5.0.0-beta1 | |
| runs-on: windows-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@master | |
| with: | |
| submodules: recursive | |
| - name: Setup premake | |
| uses: abel0b/setup-premake@v2.3 | |
| with: | |
| version: ${{ env.PREMAKE_VERSION }} | |
| - name: Premake | |
| run: premake5 vs2022 --arch=x86 --renderer=DX11 | |
| - name: Setup MSBuild | |
| uses: microsoft/setup-msbuild@v1.1 | |
| - name: Build OpenToshi for release | |
| run: msbuild './Toshi (DX11).sln' -property:Configuration=Release | |
| - name: Run UnitTests | |
| run: .\bin\Release_Windows_x86\UnitTests\UnitTests.exe | |
| - name: Publish Artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: Toshi Binaries | |
| path: bin |