2020-05-17 13:00:26 +00:00
|
|
|
name: Create rolling release
|
|
|
|
|
|
|
|
on:
|
|
|
|
pull_request:
|
2020-07-14 11:26:48 +00:00
|
|
|
paths-ignore:
|
|
|
|
- '**.md'
|
|
|
|
- 'appveyor.yml'
|
|
|
|
- 'scripts/*'
|
2020-12-18 06:53:48 +00:00
|
|
|
- '.github/ISSUE_TEMPLATE/*'
|
2020-05-17 13:00:26 +00:00
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
2020-12-25 02:56:14 +00:00
|
|
|
- dev
|
2020-07-14 11:26:48 +00:00
|
|
|
paths-ignore:
|
|
|
|
- '**.md'
|
|
|
|
- 'appveyor.yml'
|
|
|
|
- 'scripts/*'
|
2020-12-18 06:53:48 +00:00
|
|
|
- '.github/ISSUE_TEMPLATE/*'
|
2020-07-13 21:33:38 +00:00
|
|
|
workflow_dispatch:
|
2020-05-17 13:00:26 +00:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
windows-build:
|
|
|
|
runs-on: windows-2019
|
|
|
|
steps:
|
2020-07-01 06:00:07 +00:00
|
|
|
- uses: actions/checkout@v2.3.1
|
2020-05-17 13:00:26 +00:00
|
|
|
with:
|
2020-07-01 06:00:07 +00:00
|
|
|
fetch-depth: 0
|
2020-05-17 13:00:26 +00:00
|
|
|
submodules: true
|
|
|
|
|
2020-12-25 02:56:14 +00:00
|
|
|
- name: Tag as preview build
|
2020-12-21 16:18:15 +00:00
|
|
|
if: github.ref == 'refs/heads/master'
|
2020-08-06 12:11:08 +00:00
|
|
|
shell: cmd
|
|
|
|
run: |
|
|
|
|
echo #pragma once > src/scmversion/tag.h
|
|
|
|
echo #define SCM_RELEASE_ASSET "duckstation-windows-x64-release.zip" >> src/scmversion/tag.h
|
2020-12-25 02:56:14 +00:00
|
|
|
echo #define SCM_RELEASE_TAGS {"latest", "preview"} >> src/scmversion/tag.h
|
|
|
|
echo #define SCM_RELEASE_TAG "preview" >> src/scmversion/tag.h
|
2020-12-21 16:18:15 +00:00
|
|
|
|
|
|
|
|
2020-12-25 02:56:14 +00:00
|
|
|
- name: Tag as dev build
|
|
|
|
if: github.ref == 'refs/heads/dev'
|
2020-12-21 16:18:15 +00:00
|
|
|
shell: cmd
|
|
|
|
run: |
|
|
|
|
echo #pragma once > src/scmversion/tag.h
|
|
|
|
echo #define SCM_RELEASE_ASSET "duckstation-windows-x64-release.zip" >> src/scmversion/tag.h
|
2020-12-25 02:56:14 +00:00
|
|
|
echo #define SCM_RELEASE_TAGS {"latest", "preview"} >> src/scmversion/tag.h
|
2020-12-21 16:18:15 +00:00
|
|
|
echo #define SCM_RELEASE_TAG "latest" >> src/scmversion/tag.h
|
|
|
|
|
2021-10-23 14:10:47 +00:00
|
|
|
- name: Update RC version fields
|
|
|
|
shell: cmd
|
|
|
|
run: |
|
|
|
|
cd src\scmversion
|
|
|
|
call update_rc_version.bat
|
|
|
|
cd ..\..
|
|
|
|
git update-index --assume-unchanged src/duckstation-qt/duckstation-qt.rc
|
|
|
|
git update-index --assume-unchanged src/duckstation-nogui/duckstation-nogui.rc
|
|
|
|
|
2020-11-22 04:05:37 +00:00
|
|
|
- name: Compile x64 release build
|
2020-05-17 13:00:26 +00:00
|
|
|
shell: cmd
|
|
|
|
run: |
|
|
|
|
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64
|
|
|
|
msbuild duckstation.sln -t:Build -p:Platform=x64;Configuration=ReleaseLTCG
|
|
|
|
|
2021-01-31 06:13:40 +00:00
|
|
|
- name: Create x64 symbols archive
|
|
|
|
shell: cmd
|
|
|
|
run: |
|
|
|
|
"C:\Program Files\7-Zip\7z.exe" a -r duckstation-windows-x64-release-symbols.zip ./bin/x64/*.pdb
|
|
|
|
|
|
|
|
- name: Upload x64 release symbols artifact
|
|
|
|
uses: actions/upload-artifact@v1
|
|
|
|
with:
|
|
|
|
name: "windows"
|
|
|
|
path: "duckstation-windows-x64-release-symbols.zip"
|
|
|
|
|
2020-05-17 13:00:26 +00:00
|
|
|
- name: Remove extra bloat before archiving
|
|
|
|
shell: cmd
|
|
|
|
run: |
|
2021-06-12 12:43:04 +00:00
|
|
|
del /Q bin\x64\*.pdb bin\x64\*.exp bin\x64\*.lib bin\x64\*.iobj bin\x64\*.ipdb bin\x64\common-tests*
|
2020-08-06 09:35:33 +00:00
|
|
|
rename bin\x64\updater-x64-ReleaseLTCG.exe updater.exe
|
2020-11-22 04:05:37 +00:00
|
|
|
|
|
|
|
- name: Create x64 release archive
|
2020-06-30 16:35:26 +00:00
|
|
|
shell: cmd
|
|
|
|
run: |
|
2020-08-06 09:35:52 +00:00
|
|
|
"C:\Program Files\7-Zip\7z.exe" a -r duckstation-windows-x64-release.zip ./bin/x64/*
|
2020-06-30 16:35:26 +00:00
|
|
|
|
2020-11-22 04:05:37 +00:00
|
|
|
- name: Upload x64 release artifact
|
2020-06-30 16:35:26 +00:00
|
|
|
uses: actions/upload-artifact@v1
|
|
|
|
with:
|
2020-11-22 04:05:37 +00:00
|
|
|
name: "windows"
|
2020-08-06 10:11:04 +00:00
|
|
|
path: "duckstation-windows-x64-release.zip"
|
2020-06-30 16:35:26 +00:00
|
|
|
|
2021-01-07 15:11:19 +00:00
|
|
|
|
|
|
|
windows-arm64-build:
|
|
|
|
runs-on: windows-2019
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2.3.1
|
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
|
|
|
submodules: true
|
|
|
|
|
|
|
|
- name: Tag as preview build
|
|
|
|
if: github.ref == 'refs/heads/master'
|
|
|
|
shell: cmd
|
|
|
|
run: |
|
|
|
|
echo #pragma once > src/scmversion/tag.h
|
2021-06-30 10:20:18 +00:00
|
|
|
echo #define SCM_RELEASE_ASSET "duckstation-windows-arm64-release.zip" >> src/scmversion/tag.h
|
2021-01-07 15:11:19 +00:00
|
|
|
echo #define SCM_RELEASE_TAGS {"latest", "preview"} >> src/scmversion/tag.h
|
|
|
|
echo #define SCM_RELEASE_TAG "preview" >> src/scmversion/tag.h
|
|
|
|
|
|
|
|
|
|
|
|
- name: Tag as dev build
|
|
|
|
if: github.ref == 'refs/heads/dev'
|
|
|
|
shell: cmd
|
|
|
|
run: |
|
|
|
|
echo #pragma once > src/scmversion/tag.h
|
2021-06-30 10:20:18 +00:00
|
|
|
echo #define SCM_RELEASE_ASSET "duckstation-windows-arm64-release.zip" >> src/scmversion/tag.h
|
2021-01-07 15:11:19 +00:00
|
|
|
echo #define SCM_RELEASE_TAGS {"latest", "preview"} >> src/scmversion/tag.h
|
|
|
|
echo #define SCM_RELEASE_TAG "latest" >> src/scmversion/tag.h
|
|
|
|
|
2021-10-23 14:10:47 +00:00
|
|
|
- name: Update RC version fields
|
|
|
|
shell: cmd
|
|
|
|
run: |
|
|
|
|
cd src\scmversion
|
|
|
|
call update_rc_version.bat
|
|
|
|
cd ..\..
|
|
|
|
git update-index --assume-unchanged src/duckstation-qt/duckstation-qt.rc
|
|
|
|
git update-index --assume-unchanged src/duckstation-nogui/duckstation-nogui.rc
|
2021-01-07 15:11:19 +00:00
|
|
|
|
2020-11-22 04:05:37 +00:00
|
|
|
- name: Compile arm64 release build
|
|
|
|
shell: cmd
|
|
|
|
run: |
|
2020-11-22 04:22:01 +00:00
|
|
|
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" amd64_arm64
|
2020-11-22 04:05:37 +00:00
|
|
|
msbuild duckstation.sln -t:Build -p:Platform=ARM64;Configuration=ReleaseLTCG
|
|
|
|
|
2021-01-31 06:13:40 +00:00
|
|
|
- name: Create arm64 symbols archive
|
|
|
|
shell: cmd
|
|
|
|
run: |
|
|
|
|
"C:\Program Files\7-Zip\7z.exe" a -r duckstation-windows-arm64-release-symbols.zip ./bin/ARM64/*.pdb
|
|
|
|
|
|
|
|
- name: Upload arm64 release symbols artifact
|
|
|
|
uses: actions/upload-artifact@v1
|
|
|
|
with:
|
|
|
|
name: "windows-arm64"
|
|
|
|
path: "duckstation-windows-arm64-release-symbols.zip"
|
|
|
|
|
2020-11-22 04:05:37 +00:00
|
|
|
- name: Remove extra bloat before archiving
|
|
|
|
shell: cmd
|
|
|
|
run: |
|
2021-06-12 12:43:04 +00:00
|
|
|
del /Q bin\ARM64\*.pdb bin\ARM64\*.exp bin\ARM64\*.lib bin\ARM64\*.iobj bin\ARM64\*.ipdb bin\ARM64\common-tests*
|
2020-11-22 04:05:37 +00:00
|
|
|
rename bin\ARM64\updater-ARM64-ReleaseLTCG.exe updater.exe
|
|
|
|
|
|
|
|
- name: Create arm64 release archive
|
|
|
|
shell: cmd
|
|
|
|
run: |
|
|
|
|
"C:\Program Files\7-Zip\7z.exe" a -r duckstation-windows-arm64-release.zip ./bin/ARM64/*
|
|
|
|
|
|
|
|
- name: Upload arm64 release artifact
|
|
|
|
uses: actions/upload-artifact@v1
|
|
|
|
with:
|
2021-01-07 15:11:19 +00:00
|
|
|
name: "windows-arm64"
|
2020-11-22 04:05:37 +00:00
|
|
|
path: "duckstation-windows-arm64-release.zip"
|
|
|
|
|
2020-07-07 09:14:00 +00:00
|
|
|
|
2021-07-11 06:47:10 +00:00
|
|
|
windows-uwp-build:
|
|
|
|
runs-on: windows-2019
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2.3.1
|
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
|
|
|
submodules: false
|
|
|
|
|
|
|
|
- name: Tag as preview build
|
|
|
|
if: github.ref == 'refs/heads/master'
|
|
|
|
shell: cmd
|
|
|
|
run: |
|
|
|
|
echo #pragma once > src/scmversion/tag.h
|
|
|
|
echo #define SCM_RELEASE_ASSET "duckstation-windows-x64-release.zip" >> src/scmversion/tag.h
|
|
|
|
echo #define SCM_RELEASE_TAGS {"latest", "preview"} >> src/scmversion/tag.h
|
|
|
|
echo #define SCM_RELEASE_TAG "preview" >> src/scmversion/tag.h
|
|
|
|
|
|
|
|
|
|
|
|
- name: Tag as dev build
|
|
|
|
if: github.ref == 'refs/heads/dev'
|
|
|
|
shell: cmd
|
|
|
|
run: |
|
|
|
|
echo #pragma once > src/scmversion/tag.h
|
|
|
|
echo #define SCM_RELEASE_ASSET "duckstation-windows-x64-release.zip" >> src/scmversion/tag.h
|
|
|
|
echo #define SCM_RELEASE_TAGS {"latest", "preview"} >> src/scmversion/tag.h
|
|
|
|
echo #define SCM_RELEASE_TAG "latest" >> src/scmversion/tag.h
|
|
|
|
|
|
|
|
- name: Write signing key
|
|
|
|
id: write_signing_key
|
|
|
|
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/dev'
|
|
|
|
uses: timheuer/base64-to-file@v1
|
|
|
|
with:
|
|
|
|
fileName: 'duckstation-uwp.pfx'
|
|
|
|
encodedString: ${{ secrets.UWP_PFX_KEY }}
|
|
|
|
|
|
|
|
- name: Copy signing key
|
|
|
|
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/dev'
|
|
|
|
shell: cmd
|
|
|
|
run: |
|
|
|
|
copy ${{ steps.write_signing_key.outputs.filePath }} src\duckstation-uwp\duckstation-uwp.pfx
|
|
|
|
|
2021-10-19 14:44:24 +00:00
|
|
|
- name: Disable AppX signing
|
2021-10-19 16:07:17 +00:00
|
|
|
if: github.ref != 'refs/heads/master' && github.ref != 'refs/heads/dev'
|
2021-10-19 14:44:24 +00:00
|
|
|
shell: powershell
|
|
|
|
run: |
|
|
|
|
(gc .\src\duckstation-uwp\duckstation-uwp.vcxproj) -replace '<AppxPackageSigningEnabled>True</AppxPackageSigningEnabled>', '<AppxPackageSigningEnabled>False</AppxPackageSigningEnabled>' | Out-File -encoding ASCII .\src\duckstation-uwp\duckstation-uwp.vcxproj
|
|
|
|
|
2021-07-11 06:47:10 +00:00
|
|
|
- name: Restore nuget packages
|
|
|
|
shell: cmd
|
|
|
|
run: |
|
|
|
|
nuget restore duckstation-uwp.sln
|
|
|
|
|
2021-07-17 04:06:28 +00:00
|
|
|
- name: Compile x64 release build without bundle
|
|
|
|
if: github.ref != 'refs/heads/master' && github.ref != 'refs/heads/dev'
|
|
|
|
shell: cmd
|
|
|
|
run: |
|
|
|
|
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64
|
|
|
|
msbuild duckstation-uwp.sln /p:Configuration="ReleaseUWP" /p:Platform="x64" /t:Build
|
|
|
|
|
|
|
|
- name: Compile x64 release build with bundle
|
|
|
|
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/dev'
|
2021-07-11 06:47:10 +00:00
|
|
|
shell: cmd
|
|
|
|
run: |
|
|
|
|
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64
|
|
|
|
msbuild duckstation-uwp.sln /p:AppxBundle=Always /p:AppxPackageIsForStore=true /p:BuildAppxUploadPackageForUap=true /p:AppxBundlePlatforms="x64" /p:Configuration="ReleaseUWP" /p:Platform="x64" /t:Build
|
|
|
|
|
|
|
|
- name: Grab AppX package
|
|
|
|
shell: cmd
|
|
|
|
run: |
|
|
|
|
copy build\ReleaseUWP-x64\duckstation-uwp\duckstation-uwp_1.0.0.0_Bundle\duckstation-uwp_1.0.0.0_x64_ReleaseUWP.appx duckstation-uwp.appx
|
|
|
|
|
|
|
|
- name: Export certificate
|
|
|
|
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/dev'
|
|
|
|
shell: powershell
|
|
|
|
run: |
|
|
|
|
Get-PfxCertificate -FilePath .\src\duckstation-uwp\duckstation-uwp.pfx | Export-Certificate -FilePath duckstation-uwp.der -Type CERT
|
|
|
|
|
|
|
|
- name: Upload AppX package
|
|
|
|
uses: actions/upload-artifact@v1
|
|
|
|
with:
|
|
|
|
name: "windows-uwp"
|
|
|
|
path: "duckstation-uwp.appx"
|
|
|
|
|
|
|
|
- name: Upload certificate
|
|
|
|
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/dev'
|
|
|
|
uses: actions/upload-artifact@v1
|
|
|
|
with:
|
|
|
|
name: "windows-uwp"
|
|
|
|
path: "duckstation-uwp.der"
|
|
|
|
|
|
|
|
|
2020-08-15 03:31:28 +00:00
|
|
|
linux-build:
|
2021-02-18 15:25:57 +00:00
|
|
|
runs-on: ubuntu-20.04
|
2020-08-15 03:31:28 +00:00
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2.3.1
|
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
|
|
|
|
|
|
|
- name: Install packages
|
|
|
|
shell: bash
|
|
|
|
run: |
|
|
|
|
sudo apt-get update
|
2021-09-25 23:56:56 +00:00
|
|
|
sudo apt-get -y install cmake ninja-build ccache libsdl2-dev libgtk-3-dev qtbase5-dev qtbase5-dev-tools qtbase5-private-dev qt5-default qttools5-dev qtwayland5 libegl1-mesa-dev libevdev-dev libgbm-dev libdrm-dev libqt5waylandclient5-dev libqt5waylandcompositor5-dev libwayland-dev libwayland-egl-backend-dev extra-cmake-modules libcurl4-gnutls-dev libxrandr-dev
|
2020-08-15 03:31:28 +00:00
|
|
|
|
|
|
|
- name: Compile build
|
|
|
|
shell: bash
|
|
|
|
run: |
|
|
|
|
mkdir build
|
|
|
|
cd build
|
2021-02-07 14:43:24 +00:00
|
|
|
cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_NOGUI_FRONTEND=ON -DBUILD_QT_FRONTEND=ON -DUSE_DRMKMS=ON -DUSE_EGL=ON -DUSE_SDL2=ON -DUSE_WAYLAND=ON -DUSE_X11=ON -G Ninja ..
|
2020-08-15 03:31:28 +00:00
|
|
|
ninja
|
2021-05-01 11:26:32 +00:00
|
|
|
../scripts/generate_appimages.sh $(pwd)
|
2020-08-15 03:31:28 +00:00
|
|
|
|
2021-01-31 07:28:42 +00:00
|
|
|
- name: Upload NoGUI AppImage
|
2020-08-15 03:31:28 +00:00
|
|
|
uses: actions/upload-artifact@v1
|
|
|
|
with:
|
2021-01-31 07:28:42 +00:00
|
|
|
name: "linux-x64-appimage-nogui"
|
|
|
|
path: "build/duckstation-nogui-x64.AppImage"
|
2020-08-15 03:31:28 +00:00
|
|
|
|
2021-01-31 07:28:42 +00:00
|
|
|
- name: Upload NoGUI AppImage zsync
|
2020-08-15 03:31:28 +00:00
|
|
|
uses: actions/upload-artifact@v1
|
|
|
|
with:
|
2021-01-31 07:28:42 +00:00
|
|
|
name: "linux-x64-appimage-nogui-zsync"
|
|
|
|
path: "build/duckstation-nogui-x64.AppImage.zsync"
|
2020-08-15 03:31:28 +00:00
|
|
|
|
|
|
|
- name: Upload Qt AppImage
|
|
|
|
uses: actions/upload-artifact@v1
|
|
|
|
with:
|
|
|
|
name: "linux-x64-appimage-qt"
|
|
|
|
path: "build/duckstation-qt-x64.AppImage"
|
|
|
|
|
|
|
|
- name: Upload Qt AppImage zsync
|
|
|
|
uses: actions/upload-artifact@v1
|
|
|
|
with:
|
|
|
|
name: "linux-x64-appimage-qt-zsync"
|
|
|
|
path: "build/duckstation-qt-x64.AppImage.zsync"
|
2020-05-23 09:57:50 +00:00
|
|
|
|
2020-07-05 02:58:04 +00:00
|
|
|
|
2021-06-04 06:49:27 +00:00
|
|
|
macos-build:
|
|
|
|
runs-on: macos-10.15
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2.3.1
|
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
|
|
|
|
|
|
|
- name: Install packages
|
|
|
|
shell: bash
|
|
|
|
run: |
|
|
|
|
brew install qt5 sdl2 curl
|
|
|
|
|
|
|
|
- name: Clone mac externals
|
|
|
|
shell: bash
|
|
|
|
run: |
|
|
|
|
git clone https://github.com/stenzek/duckstation-ext-mac.git dep/mac
|
|
|
|
|
|
|
|
- name: Compile and zip .app
|
|
|
|
shell: bash
|
|
|
|
run: |
|
|
|
|
mkdir build
|
|
|
|
cd build
|
|
|
|
export MACOSX_DEPLOYMENT_TARGET=10.14
|
|
|
|
cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_NOGUI_FRONTEND=OFF -DBUILD_QT_FRONTEND=ON -DUSE_SDL2=ON -DQt5_DIR=/usr/local/opt/qt@5/lib/cmake/Qt5 ..
|
|
|
|
cmake --build . --parallel 2
|
|
|
|
cd bin
|
|
|
|
zip -r duckstation-mac-release.zip DuckStation.app/
|
|
|
|
|
|
|
|
- name: Upload macOS .app
|
|
|
|
uses: actions/upload-artifact@v1
|
|
|
|
with:
|
|
|
|
name: "macos-x64"
|
|
|
|
path: "build/bin/duckstation-mac-release.zip"
|
|
|
|
|
|
|
|
|
2020-05-17 13:00:26 +00:00
|
|
|
create-release:
|
2021-07-11 06:47:10 +00:00
|
|
|
needs: [windows-build, windows-arm64-build, linux-build, windows-uwp-build]
|
2021-02-18 15:25:57 +00:00
|
|
|
runs-on: "ubuntu-20.04"
|
2021-06-08 06:39:52 +00:00
|
|
|
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/dev'
|
2020-05-17 13:00:26 +00:00
|
|
|
steps:
|
2020-11-22 04:05:37 +00:00
|
|
|
- name: Download Windows Artifacts
|
2020-05-17 13:00:26 +00:00
|
|
|
uses: actions/download-artifact@v1
|
|
|
|
with:
|
2020-11-22 04:05:37 +00:00
|
|
|
name: "windows"
|
2020-05-17 13:00:26 +00:00
|
|
|
|
2021-01-07 15:11:19 +00:00
|
|
|
- name: Download Windows ARM64 Artifact
|
2020-12-26 16:21:16 +00:00
|
|
|
uses: actions/download-artifact@v1
|
|
|
|
with:
|
2021-01-07 15:11:19 +00:00
|
|
|
name: "windows-arm64"
|
2020-12-26 16:21:16 +00:00
|
|
|
|
2021-07-11 06:47:10 +00:00
|
|
|
- name: Download Windows UWP Artifact
|
|
|
|
uses: actions/download-artifact@v1
|
|
|
|
with:
|
|
|
|
name: "windows-uwp"
|
|
|
|
|
2021-01-31 07:28:42 +00:00
|
|
|
- name: Download NoGUI AppImage Artifact
|
2020-08-15 03:31:28 +00:00
|
|
|
uses: actions/download-artifact@v1
|
|
|
|
with:
|
2021-01-31 07:28:42 +00:00
|
|
|
name: "linux-x64-appimage-nogui"
|
2020-08-15 03:31:28 +00:00
|
|
|
|
2021-01-31 07:28:42 +00:00
|
|
|
- name: Download NoGUI AppImage zsync Artifact
|
2020-08-15 03:31:28 +00:00
|
|
|
uses: actions/download-artifact@v1
|
|
|
|
with:
|
2021-01-31 07:28:42 +00:00
|
|
|
name: "linux-x64-appimage-nogui-zsync"
|
2020-08-15 03:31:28 +00:00
|
|
|
|
|
|
|
- name: Download Qt AppImage Artifact
|
|
|
|
uses: actions/download-artifact@v1
|
|
|
|
with:
|
|
|
|
name: "linux-x64-appimage-qt"
|
|
|
|
|
|
|
|
- name: Download Qt AppImage zsync Artifact
|
|
|
|
uses: actions/download-artifact@v1
|
|
|
|
with:
|
|
|
|
name: "linux-x64-appimage-qt-zsync"
|
2021-09-25 23:56:56 +00:00
|
|
|
|
2020-12-25 02:56:14 +00:00
|
|
|
- name: Create preview release
|
2020-12-21 16:18:15 +00:00
|
|
|
if: github.ref == 'refs/heads/master'
|
|
|
|
uses: "marvinpinto/action-automatic-releases@latest"
|
|
|
|
with:
|
|
|
|
repo_token: "${{ secrets.GITHUB_TOKEN }}"
|
2020-12-25 02:56:14 +00:00
|
|
|
automatic_release_tag: "preview"
|
2020-12-21 16:40:27 +00:00
|
|
|
prerelease: true
|
2020-12-25 02:56:14 +00:00
|
|
|
title: "Latest Preview Build"
|
2020-12-21 16:18:15 +00:00
|
|
|
files: |
|
|
|
|
windows/duckstation-windows-x64-release.zip
|
2021-01-31 06:13:40 +00:00
|
|
|
windows/duckstation-windows-x64-release-symbols.zip
|
2021-01-07 15:11:19 +00:00
|
|
|
windows-arm64/duckstation-windows-arm64-release.zip
|
2021-01-31 06:13:40 +00:00
|
|
|
windows-arm64/duckstation-windows-arm64-release-symbols.zip
|
2021-07-11 06:47:10 +00:00
|
|
|
windows-uwp/duckstation-uwp.appx
|
|
|
|
windows-uwp/duckstation-uwp.der
|
2021-01-31 07:28:42 +00:00
|
|
|
linux-x64-appimage-nogui/duckstation-nogui-x64.AppImage
|
|
|
|
linux-x64-appimage-nogui-zsync/duckstation-nogui-x64.AppImage.zsync
|
2020-12-21 16:18:15 +00:00
|
|
|
linux-x64-appimage-qt/duckstation-qt-x64.AppImage
|
|
|
|
linux-x64-appimage-qt-zsync/duckstation-qt-x64.AppImage.zsync
|
2021-09-25 23:56:56 +00:00
|
|
|
|
2020-12-25 02:56:14 +00:00
|
|
|
- name: Create dev release
|
|
|
|
if: github.ref == 'refs/heads/dev'
|
2020-05-17 13:00:26 +00:00
|
|
|
uses: "marvinpinto/action-automatic-releases@latest"
|
|
|
|
with:
|
|
|
|
repo_token: "${{ secrets.GITHUB_TOKEN }}"
|
|
|
|
automatic_release_tag: "latest"
|
2020-12-21 16:40:27 +00:00
|
|
|
prerelease: false
|
2020-12-25 02:56:14 +00:00
|
|
|
title: "Latest Development Build"
|
2020-05-17 13:00:26 +00:00
|
|
|
files: |
|
2020-11-22 04:05:37 +00:00
|
|
|
windows/duckstation-windows-x64-release.zip
|
2021-01-31 06:13:40 +00:00
|
|
|
windows/duckstation-windows-x64-release-symbols.zip
|
2021-01-07 15:11:19 +00:00
|
|
|
windows-arm64/duckstation-windows-arm64-release.zip
|
2021-01-31 06:13:40 +00:00
|
|
|
windows-arm64/duckstation-windows-arm64-release-symbols.zip
|
2021-07-11 06:47:10 +00:00
|
|
|
windows-uwp/duckstation-uwp.appx
|
|
|
|
windows-uwp/duckstation-uwp.der
|
2021-01-31 07:28:42 +00:00
|
|
|
linux-x64-appimage-nogui/duckstation-nogui-x64.AppImage
|
|
|
|
linux-x64-appimage-nogui-zsync/duckstation-nogui-x64.AppImage.zsync
|
2020-08-15 03:31:28 +00:00
|
|
|
linux-x64-appimage-qt/duckstation-qt-x64.AppImage
|
2021-06-09 03:12:04 +00:00
|
|
|
linux-x64-appimage-qt-zsync/duckstation-qt-x64.AppImage.zsync
|
2021-09-25 23:56:56 +00:00
|
|
|
|