Skip to content

Commit 20fcaef

Browse files
committed
Add Github Actions CI config
1 parent a1f2a0c commit 20fcaef

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/dotnet-core.yaml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: .NET Core
2+
3+
on:
4+
push:
5+
branches: '*'
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout
14+
uses: actions/checkout@v2
15+
- name: Install .NET Core
16+
uses: actions/setup-dotnet@v1
17+
with:
18+
dotnet-version: 5.x
19+
- name: Build and package liblsl
20+
run: dotnet pack -c Release liblsl.csproj -o pkg
21+
- name: Build and package examples
22+
run: dotnet pack -c Release examples/LSLExamples.csproj -o pkg
23+
# - name: Run examples
24+
# run: dotnet run -p examples/LSLExamples.csproj
25+
- name: Upload build artifacts
26+
uses: actions/upload-artifact@v1
27+
with:
28+
name: nuget pkg
29+
path: pkg

0 commit comments

Comments
 (0)