mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-11 10:39:59 +00:00
Update windows.yml
This commit is contained in:
parent
ad681ef292
commit
07c4c70f6f
1 changed files with 11 additions and 19 deletions
30
.github/workflows/windows.yml
vendored
30
.github/workflows/windows.yml
vendored
|
@ -6,7 +6,9 @@ name: Windows CI
|
|||
# events but only for the master branch
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
|
||||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
|
||||
jobs:
|
||||
|
@ -19,30 +21,20 @@ jobs:
|
|||
steps:
|
||||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
||||
- uses: actions/checkout@v2
|
||||
# Install 7zip
|
||||
- name: Install 7zip
|
||||
run: choco install 7zip
|
||||
# Submoudle
|
||||
- name: Checkout Submodles
|
||||
run: git submodule update --init --recursive
|
||||
# Run CMake
|
||||
- name: Run CMake
|
||||
run: mkdir build && cd build && cmake .. -G Ninja -DCPACK_PACKAGE_CONTACT="Mario Party Netplay"
|
||||
# Build Project
|
||||
- name: Run Make
|
||||
run: cd build && ninja -j8
|
||||
# Setup MSBuild For Later Usage
|
||||
- name: Setup MSBuild
|
||||
uses: microsoft/setup-msbuild@v1.0.2
|
||||
with:
|
||||
vs-version: '16.6.2'
|
||||
# Run MSBuild
|
||||
- name: Build Solution
|
||||
run: msbuild "D:\a\Dolphin-MPN-src\Dolphin-MPN-src\Source\dolphin-emu.sln" /verbosity:minimal /property:Configuration=Release /property:Platform=x64
|
||||
# Upload Artifact
|
||||
- name: Upload Build Artifact
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: DolphinMPN-win32
|
||||
path: D:\a\dolphin-mpn-src\dolphin-mpn-src\Binary\x64
|
||||
# Zip Artifact
|
||||
- name: Zip Artifact
|
||||
run: 7z a D:/DolphinMPN-win32 D:/a/dolphin-mpn-src/dolphin-mpn-src/Binary/x64/*
|
||||
# New Release
|
||||
- name: New Release
|
||||
uses: softprops/action-gh-release@v1
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
with:
|
||||
files: D:/DolphinMPN-win32.7z
|
||||
path: D:\a\Dolphin-MPN-src\Dolphin-MPN-src\Binary\x64
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue