Skip to content

Commit

Permalink
Add gh action for building the library and Das app (without tests for…
Browse files Browse the repository at this point in the history
… now)
  • Loading branch information
kMutagene committed Jun 21, 2021
1 parent e6df788 commit 07fcee5
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Build and test

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
build-and-test-linux:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Setup .NET 5
uses: actions/setup-dotnet@v1
with:
dotnet-version: '5.0.x'
- name: Restore local tools
run: dotnet tool restore
- name: Build and test
run: dotnet fake build -t build

build-and-test-windows:

runs-on: windows-latest

steps:
- uses: actions/checkout@v2
- name: Setup .NET 5
uses: actions/setup-dotnet@v1
with:
dotnet-version: '5.0.x'
- name: Restore local tools
run: dotnet tool restore
- name: Build and test
run: dotnet fake build -t build

0 comments on commit 07fcee5

Please sign in to comment.