Skip to content

Commit c9d4237

Browse files
committed
Update workflows
1 parent 11f3781 commit c9d4237

File tree

4 files changed

+56
-3
lines changed

4 files changed

+56
-3
lines changed

.github/workflows/linux.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Linux
2+
3+
on:
4+
push:
5+
paths-ignore:
6+
- 'README.md'
7+
- 'docs/'
8+
pull_request:
9+
paths-ignore:
10+
- 'README.md'
11+
- 'docs/'
12+
13+
jobs:
14+
build:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- name: Checkout
18+
uses: actions/checkout@v4
19+
- name: Install Dotnet
20+
uses: actions/setup-dotnet@v4
21+
with:
22+
global-json-file: global.json
23+
- name: Build
24+
run: sh ./build.sh

.github/workflows/mac.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: MacOS
2+
3+
on:
4+
push:
5+
paths-ignore:
6+
- 'README.md'
7+
- 'docs/'
8+
pull_request:
9+
paths-ignore:
10+
- 'README.md'
11+
- 'docs/'
12+
13+
jobs:
14+
build:
15+
runs-on: macos-latest
16+
steps:
17+
- name: Checkout
18+
uses: actions/checkout@v4
19+
- name: Install Dotnet
20+
uses: actions/setup-dotnet@v4
21+
with:
22+
global-json-file: global.json
23+
- name: Build
24+
run: bash ./build.sh

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Publish
22
on:
33
push:
44
branches:
5-
- test
5+
- master
66
paths:
77
- RELEASE_NOTES.md
88
- .github/workflows/publish.yml
@@ -23,9 +23,9 @@ jobs:
2323
run: dotnet paket restore
2424
- name: Build
2525
shell: cmd
26-
run: dotnet build -c Release src\Aardvark.sln
26+
run: dotnet build -c Release src\Aardvark.OpenCV.sln
2727
- name: Test
28-
run: dotnet test src\Aardvark.sln -c Release --no-build --nologo --logger:"console;verbosity=normal"
28+
run: dotnet test src\Aardvark.OpenCV.sln -c Release --no-build --nologo --logger:"console;verbosity=normal"
2929
- name: Pack
3030
env:
3131
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

build.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/bin/sh
2+
3+
dotnet tool restore
4+
dotnet paket restore
5+
dotnet build src/Aardvark.OpenCV.sln

0 commit comments

Comments
 (0)