Skip to content

Commit

Permalink
Merge pull request #8 from git-for-windows/github-workflow
Browse files Browse the repository at this point in the history
Add a CI build definition
  • Loading branch information
dscho authored Jul 14, 2021
2 parents dfe3836 + 9bd0ec0 commit e08ca08
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/msbuild.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Build SFX bundle

on: [push, pull_request]

env:
# Path to the solution file relative to the root of the project.
SOLUTION_FILE_PATH: CPP/7zip/Bundles/SFXSetup/SFXSetup.sln

# Configuration type to build.
BUILD_CONFIGURATION: Release

jobs:
build:
runs-on: windows-latest

steps:
- uses: actions/checkout@v2

- name: Add MSBuild to PATH
uses: microsoft/[email protected]

- name: Build
working-directory: ${{env.GITHUB_WORKSPACE}}
run: msbuild /m /p:Configuration=${{env.BUILD_CONFIGURATION}} ${{env.SOLUTION_FILE_PATH}}

- name: Upload SFX bundle
uses: actions/upload-artifact@v1
with:
name: sfx-bundle
path: CPP/7zip/Bundles/SFXSetup/Release/7zS.sfx

0 comments on commit e08ca08

Please sign in to comment.