mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-11 18:50:30 +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
|
# events but only for the master branch
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
branches: [ master ]
|
||||||
pull_request:
|
pull_request:
|
||||||
|
branches: [ master ]
|
||||||
|
|
||||||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
|
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
|
||||||
jobs:
|
jobs:
|
||||||
|
@ -19,30 +21,20 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
# Install 7zip
|
|
||||||
- name: Install 7zip
|
|
||||||
run: choco install 7zip
|
|
||||||
# Submoudle
|
# Submoudle
|
||||||
- name: Checkout Submodles
|
- name: Checkout Submodles
|
||||||
run: git submodule update --init --recursive
|
run: git submodule update --init --recursive
|
||||||
# Run CMake
|
# Setup MSBuild For Later Usage
|
||||||
- name: Run CMake
|
- name: Setup MSBuild
|
||||||
run: mkdir build && cd build && cmake .. -G Ninja -DCPACK_PACKAGE_CONTACT="Mario Party Netplay"
|
uses: microsoft/setup-msbuild@v1.0.2
|
||||||
# Build Project
|
with:
|
||||||
- name: Run Make
|
vs-version: '16.6.2'
|
||||||
run: cd build && ninja -j8
|
# 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
|
# Upload Artifact
|
||||||
- name: Upload Build Artifact
|
- name: Upload Build Artifact
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: DolphinMPN-win32
|
name: DolphinMPN-win32
|
||||||
path: D:\a\dolphin-mpn-src\dolphin-mpn-src\Binary\x64
|
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
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue