Add github workflows (#11)

Add github workflows
dependabot/npm_and_yarn/Src/WebController/UI/websocket-extensions-0.1.4
grzryc 2020-04-03 17:42:16 +02:00 committed by GitHub
parent 12cf67a5b8
commit 47f84644fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 63 additions and 0 deletions

31
.github/workflows/build-clang.yml vendored Normal file
View File

@ -0,0 +1,31 @@
name: Build C3 (Clang)
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
name: Build C3 (Clang)
strategy:
matrix:
platfom: [x86, x64]
configuration: [ClangDebug, ClangRwdi, ClangRelease]
runs-on: windows-latest
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Checkout
uses: actions/checkout@v2
- name: Dotnet restore
shell: cmd
run: |
"C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\MSBuild.exe" Src/C3.sln "/t:restore"
- name: Build MSVC
shell: cmd
run: |
"C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\MSBuild.exe" Src/C3.sln "/p:Platform=${{ matrix.platfom }}" "/p:Configuration="${{ matrix.configuration }}"

32
.github/workflows/build-msvc.yml vendored Normal file
View File

@ -0,0 +1,32 @@
name: Build C3 (MSVC)
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
name: Build C3 (MSVC)
strategy:
matrix:
platfom: [x86, x64]
configuration: [Debug, ReleaseWithDebInfo, Release]
runs-on: windows-latest
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Checkout
uses: actions/checkout@v2
- name: Dotnet restore
shell: cmd
run: |
"C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\MSBuild.exe" Src/C3.sln "/t:restore"
- name: Build MSVC
shell: cmd
run: |
"C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\MSBuild.exe" Src/C3.sln "/p:Platform=${{ matrix.platfom }}" "/p:Configuration="${{ matrix.configuration }}"