Sandboxie/.github/workflows/main.yml

37 lines
830 B
YAML
Raw Normal View History

2020-11-28 14:34:18 +00:00
name: CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
2020-11-28 14:46:12 +00:00
strategy:
matrix:
platform: [Win32, x64]
2020-11-28 14:34:18 +00:00
runs-on: windows-latest
steps:
2020-11-28 15:23:26 +00:00
- name: Checkout code
uses: actions/checkout@v2
2020-11-28 16:25:50 +00:00
2020-11-28 15:23:26 +00:00
- name: Setup msbuild
2020-11-28 14:38:51 +00:00
uses: microsoft/setup-msbuild@v1
2020-11-28 16:25:50 +00:00
2020-11-28 14:34:18 +00:00
- name: Build Driver
2020-11-30 12:52:25 +00:00
run: msbuild /t:build Sandboxie\Sandbox.sln /p:Configuration="SbieRelease" /p:Platform=${{ matrix.platform }}
2020-11-28 16:25:50 +00:00
- name: Upload Sandboxie
2020-11-28 15:23:26 +00:00
uses: actions/upload-artifact@v2
2020-11-28 14:52:52 +00:00
with:
name: Sandboxie (${{ matrix.platform }})
path: |
Sandboxie/Bin/${{ matrix.platform }}/SbieRelease
!**/*.pdb
!**/*.exp
!**/*.ilk
!**/*.iobj
!**/*.lib
!**/*.cer