Browse Source

Added build github action

pull/53/head
Anairkoen Schno 4 years ago
parent
commit
178a3d870f
Signed by: DaNike GPG Key ID: BEFB74D5F3FC4387
3 changed files with 49 additions and 1 deletions
  1. +47
    -0
      .github/workflows/build.yml
  2. +1
    -1
      .github/workflows/docs.yml
  3. +1
    -0
      BSIPA.sln

+ 47
- 0
.github/workflows/build.yml View File

@ -0,0 +1,47 @@
name: Build
on:
push:
branches-ignore:
- gh-pages
pull_request:
branches:
- master
release:
types:
- created
defaults:
run:
shell: pwsh
jobs:
build:
runs-on: windows-latest
strategy:
matrix:
platform: ["x86", "x64"]
env:
Configuration: Release
Platform: ${{ matrix.platform }}
steps:
- name: Checkout branch
uses: actions/checkout@v2
- name: Checkout submodules
run: git submodule update --init --recursive
- name: Locate MSBuild
uses: warrenbuckley/Setup-MSBuild@v1
- name: Restore
run: msbuild -t:Restore
- name: Build
run: msbuild -t:Build
- name: Upload net461
uses: actions/upload-artifact@v2
with:
name: BSIPA-net461
path: BSIPA-Meta/bin/${{ env.Platform }}/${{ env.Configuration }}/net461/
- name: Upload net35
uses: actions/upload-artifact@v2
with:
name: BSIPA-net35
path: BSIPA-Meta/bin/${{ env.Platform }}/${{ env.Configuration }}/net35/

+ 1
- 1
.github/workflows/docs.yml View File

@ -33,7 +33,7 @@ jobs:
- name: Install DocFX
uses: crazy-max/ghaction-chocolatey@v1
with:
args: install docfx --version 2.48 -y
args: install docfx -y
- name: Checkout current pages
uses: actions/checkout@v2
with:


+ 1
- 0
BSIPA.sln View File

@ -19,6 +19,7 @@ EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{4D6639A2-BD39-4F9B-AF7F-8E5F3B88243D}"
ProjectSection(SolutionItems) = preProject
appveyor.yml = appveyor.yml
.github\workflows\build.yml = .github\workflows\build.yml
.github\workflows\docs.yml = .github\workflows\docs.yml
README.md = README.md
.github\workflows\tag_docs.yml = .github\workflows\tag_docs.yml


Loading…
Cancel
Save