mirror of
https://github.com/pbatard/rufus.git
synced 2024-09-20 03:29:18 -04:00
58 lines
1.1 KiB
YAML
58 lines
1.1 KiB
YAML
|
name: VS2019
|
||
|
|
||
|
on:
|
||
|
push:
|
||
|
paths-ignore:
|
||
|
- '.gitignore'
|
||
|
- '.gitattributes'
|
||
|
- 'res/**'
|
||
|
- '**.cmd'
|
||
|
- '**.md'
|
||
|
- '**.rc'
|
||
|
- '**.sh'
|
||
|
- '**.txt'
|
||
|
- '**.xml'
|
||
|
pull_request:
|
||
|
paths-ignore:
|
||
|
- '.gitignore'
|
||
|
- '.gitattributes'
|
||
|
- 'res/**'
|
||
|
- '**.cmd'
|
||
|
- '**.md'
|
||
|
- '**.rc'
|
||
|
- '**.sh'
|
||
|
- '**.txt'
|
||
|
- '**.xml'
|
||
|
|
||
|
env:
|
||
|
SOLUTION_FILE_PATH: ./rufus.sln
|
||
|
|
||
|
jobs:
|
||
|
build:
|
||
|
runs-on: windows-latest
|
||
|
|
||
|
strategy:
|
||
|
matrix:
|
||
|
TARGET_PLATFORM: [x64, x86, arm64, arm]
|
||
|
|
||
|
steps:
|
||
|
- name: Checkout repository
|
||
|
uses: actions/checkout@v2
|
||
|
with:
|
||
|
fetch-depth: 0
|
||
|
submodules: recursive
|
||
|
|
||
|
- name: Add MSBuild to PATH
|
||
|
uses: microsoft/setup-msbuild@v1
|
||
|
|
||
|
- name: Build
|
||
|
run: |
|
||
|
msbuild ${{env.SOLUTION_FILE_PATH}} /m /p:Configuration=Release,Platform=${{matrix.TARGET_PLATFORM}}
|
||
|
move ./${{matrix.TARGET_PLATFORM}}/Release/rufus.exe ./rufus_${{matrix.TARGET_PLATFORM}}.exe
|
||
|
|
||
|
- name: Upload artifacts
|
||
|
uses: actions/upload-artifact@v2
|
||
|
with:
|
||
|
name: VS2019
|
||
|
path: ./*.exe
|