-
Notifications
You must be signed in to change notification settings - Fork 142
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
202ca1d
commit 5406664
Showing
1 changed file
with
20 additions
and
9 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,6 +32,8 @@ jobs: | |
name: "Windows ${{ matrix.build_type }}" | ||
runs-on: windows-2019 | ||
steps: | ||
- name: "Checkout" | ||
uses: actions/[email protected] | ||
- name: "Setup Go" | ||
uses: actions/setup-go@v2 | ||
if: matrix.build_type == 'Netplay' | ||
|
@@ -40,14 +42,24 @@ jobs: | |
run: | | ||
MsiExec.exe /passive /X{F0C3E5D1-1ADE-321E-8167-68EF0DE699A5} | ||
MsiExec.exe /passive /X{1D8E6291-B0D5-35EC-8441-6616F567A0F7} | ||
- name: "Install DirectX SDK" | ||
shell: powershell | ||
run: | | ||
choco install directx-sdk | ||
mkdir .\Tools\DX | ||
- name: "Setup MSBuild" | ||
uses: microsoft/setup-msbuild@v1 | ||
- name: "Checkout" | ||
uses: actions/[email protected] | ||
- name: Cache DXSDK_Jun10.exe | ||
uses: actions/cache@v2 | ||
with: | ||
path: ./Tools/DX/ | ||
key: ${{ runner.os }} | ||
- name: "Download DirectX SDK" | ||
working-directory: ${{ github.workspace }} | ||
shell: powershell | ||
run: | | ||
if (!(Test-Path ".\Tools\DX\DXSDK_Jun10.exe" -PathType Leaf)) { Invoke-WebRequest -Uri https://github.com/project-slippi/Ishiiruka/releases/download/v2.2.5/DXSDK_Jun10.exe -UseBasicParsing -OutFile ".\Tools\DX\DXSDK_Jun10.exe" } | ||
- name: "Install DirectX SDK" | ||
working-directory: ${{ github.workspace }} | ||
shell: cmd | ||
run: | | ||
.\Tools\DX\DXSDK_Jun10.exe /U /F | ||
- name: 'Fetch Git Tags' | ||
shell: bash | ||
if: success() | ||
|
@@ -179,13 +191,15 @@ jobs: | |
if: success() | ||
working-directory: ${{ github.workspace }} | ||
run: | | ||
chmod +x ./build-appimage.sh | ||
./build-appimage.sh ${{ matrix.build_config }} | ||
- name: "Package" | ||
if: success() | ||
working-directory: ${{ github.workspace }} | ||
run: | | ||
mkdir artifact | ||
FILE_NAME=${{ env.CURR_DATE }}-${{ env.GIT_HASH }}-${{ env.GIT_TAG }}-${{ matrix.artifact_name }}.zip | ||
chmod +x ./*.AppImage | ||
zip -r "${FILE_NAME}" ./*.AppImage* | ||
mv "${FILE_NAME}" ./artifact/ | ||
- name: "Publish" | ||
|
@@ -266,10 +280,8 @@ jobs: | |
CERTIFICATE_MACOS_PASSWORD: ${{ secrets.CERTIFICATE_MACOS_PASSWORD }} | ||
run: | | ||
chmod +x Tools/load-macos-certs-ci.sh && ./Tools/load-macos-certs-ci.sh | ||
mkdir -p ~/private_keys/ | ||
echo '${{ secrets.APPLE_CONNECT_API_KEY }}' > ~/private_keys/AuthKey_${{ secrets.APPLE_API_KEY_ID }}.p8 | ||
/usr/bin/codesign -f -s "${{ secrets.APPLE_IDENTITY_HASH }}" --deep --options runtime --entitlements Source/Core/DolphinWX/Entitlements.plist ./build/Binaries/Slippi\ Dolphin.app | ||
- name: "Package, Sign and Notarize Netplay Release DMG" | ||
if: success() && matrix.build_type == 'Netplay' && env.CERTIFICATE_MACOS_APPLICATION != null | ||
|
@@ -296,7 +308,6 @@ jobs: | |
"${{ env.FILE_NAME }}.dmg" \ | ||
"./build/Binaries/" | ||
mv "${{ env.FILE_NAME }}.dmg" artifact/ | ||
/usr/bin/codesign -f -s "${{ secrets.APPLE_IDENTITY_HASH }}" --deep --options runtime ./artifact/${{ env.FILE_NAME }}.dmg | ||
chmod +x Tools/notarize_netplay.sh && ./Tools/notarize_netplay.sh ./artifact/${{ env.FILE_NAME }}.dmg | ||
- name: "Package ${{ matrix.build_type }}" | ||
|