Add SDL2 to GitHub Actions and Azure Pipelines

This commit is contained in:
Margen67 2020-02-12 23:17:31 -08:00 committed by illusion
parent 9ffdac324d
commit fdc56b6408
2 changed files with 9 additions and 2 deletions

View File

@ -56,8 +56,9 @@ jobs:
displayName: 'Build'
- script: |
7z a $(Build.ArtifactStagingDirectory)\xenia-$(Build.SourceBranchName).zip LICENSE .\build\bin\Windows\Release\xenia-canary.exe
7z a $(Build.ArtifactStagingDirectory)\xenia-vfs-dump-$(Build.SourceBranchName).zip LICENSE .\build\bin\Windows\Release\xenia-vfs-dump.exe
7z a $(Build.ArtifactStagingDirectory)\xenia-$(Build.SourceBranchName).zip LICENSE .\build\bin\Windows\Release\xenia-canary.exe
7z a $(Build.ArtifactStagingDirectory)\xenia-vfs-dump-$(Build.SourceBranchName).zip LICENSE .\build\bin\Windows\Release\xenia-vfs-dump.exe
7z a $(Build.ArtifactStagingDirectory)\SDL2.zip .\build\bin\Windows\Release\SDL2.dll
displayName: 'Create archives'
- publish: $(Build.ArtifactStagingDirectory)

View File

@ -65,6 +65,12 @@ jobs:
name: xenia-canary-${{ matrix.cpu_arch }}
path: artifacts
- uses: actions/upload-artifact@v1
if: matrix.cpu_arch == 'AVX'
with:
name: SDL2
path: build\bin\Windows\Release\SDL2.dll
- name: Create Release
if: github.event.action != 'pull_request' && github.ref == 'refs/heads/canary' && matrix.cpu_arch == 'AVX'
id: create_release