39 lines
927 B
YAML
39 lines
927 B
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
branches: [ master ]
|
|
pull_request:
|
|
branches: [ master ]
|
|
|
|
jobs:
|
|
build:
|
|
strategy:
|
|
matrix:
|
|
platform: [Win32, x64]
|
|
runs-on: windows-2019
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Setup msbuild
|
|
uses: microsoft/setup-msbuild@v1
|
|
|
|
- name: Build Sandboxie
|
|
run: msbuild /t:build Sandboxie\Sandbox.sln /p:Configuration="SbieRelease" /p:Platform=${{ matrix.platform }}
|
|
|
|
- name: Upload Sandboxie
|
|
uses: actions/upload-artifact@v2
|
|
with:
|
|
name: Sandboxie (${{ matrix.platform }})
|
|
path: |
|
|
Sandboxie/Bin/${{ matrix.platform }}/SbieRelease
|
|
!**/*.pdb
|
|
!**/*.ipdb
|
|
!**/*.exp
|
|
!**/*.ilk
|
|
!**/*.iobj
|
|
!**/*.lib
|
|
!**/*.cer
|
|
Sandboxie/Bin/${{ matrix.platform }}/SbieRelease/SbieDrv.pdb
|