From 13ab17dcad75df1caddd25ed6c482fbad6329a27 Mon Sep 17 00:00:00 2001 From: Margen67 Date: Wed, 12 Feb 2020 23:17:31 -0800 Subject: [PATCH] Add SDL2 to GitHub Actions and Azure Pipelines --- .azure-pipelines.yml | 5 +++-- .github/workflows/CI.yml | 6 ++++++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml index e883f82f8..ea727638a 100644 --- a/.azure-pipelines.yml +++ b/.azure-pipelines.yml @@ -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) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 07bc7577c..fef43ec6b 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -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