Add SDL2 to GitHub Actions and Azure Pipelines
This commit is contained in:
parent
9ffdac324d
commit
fdc56b6408
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue