Add SDL2 to GitHub Actions and Azure Pipelines
This commit is contained in:
parent
7055d7fa56
commit
13ab17dcad
|
@ -58,6 +58,7 @@ jobs:
|
||||||
- script: |
|
- script: |
|
||||||
7z a $(Build.ArtifactStagingDirectory)\xenia-$(Build.SourceBranchName).zip LICENSE .\build\bin\Windows\Release\xenia-canary.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)\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'
|
displayName: 'Create archives'
|
||||||
|
|
||||||
- publish: $(Build.ArtifactStagingDirectory)
|
- publish: $(Build.ArtifactStagingDirectory)
|
||||||
|
|
|
@ -65,6 +65,12 @@ jobs:
|
||||||
name: xenia-canary-${{ matrix.cpu_arch }}
|
name: xenia-canary-${{ matrix.cpu_arch }}
|
||||||
path: artifacts
|
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
|
- name: Create Release
|
||||||
if: github.event.action != 'pull_request' && github.ref == 'refs/heads/canary' && matrix.cpu_arch == 'AVX'
|
if: github.event.action != 'pull_request' && github.ref == 'refs/heads/canary' && matrix.cpu_arch == 'AVX'
|
||||||
id: create_release
|
id: create_release
|
||||||
|
|
Loading…
Reference in New Issue