Skip to content

Commit 1096236

Browse files
committed
Update CI workflows
1 parent 53912ad commit 1096236

File tree

5 files changed

+33
-75
lines changed

5 files changed

+33
-75
lines changed

.github/workflows/build.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Build
2+
on:
3+
push:
4+
paths-ignore:
5+
- 'README.md'
6+
- 'docs/'
7+
pull_request:
8+
paths-ignore:
9+
- 'README.md'
10+
- 'docs/'
11+
jobs:
12+
build:
13+
runs-on: ${{ matrix.os }}
14+
strategy:
15+
matrix:
16+
os: [ubuntu-latest, windows-latest, macos-latest]
17+
include:
18+
- os: ubuntu-latest
19+
build: sh ./build.sh
20+
- os: windows-latest
21+
build: .\build.cmd
22+
- os: macos-latest
23+
build: bash ./build.sh
24+
steps:
25+
- name: Checkout
26+
uses: actions/checkout@v4
27+
- name: Install Dotnet
28+
uses: actions/setup-dotnet@v4
29+
with:
30+
global-json-file: global.json
31+
- name: Build
32+
run: ${{ matrix.build }}

.github/workflows/linux.yml

Lines changed: 0 additions & 24 deletions
This file was deleted.

.github/workflows/mac.yml

Lines changed: 0 additions & 24 deletions
This file was deleted.

.github/workflows/windows.yml

Lines changed: 0 additions & 24 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
# Aardvark.OpenCV
22

3+
![Build](https://github.com/aardvark-platform/aardvark.opencv/workflows/Build/badge.svg)
34
![Publish](https://github.com/aardvark-platform/aardvark.opencv/workflows/Publish/badge.svg)
4-
![Windows](https://github.com/aardvark-platform/aardvark.opencv/workflows/Windows/badge.svg)
5-
![MacOS](https://github.com/aardvark-platform/aardvark.opencv/workflows/MacOS/badge.svg)
6-
![Linux](https://github.com/aardvark-platform/aardvark.opencv/workflows/Linux/badge.svg)
75

86

97
[![NuGet](https://badgen.net/nuget/v/Aardvark.OpenCV)](https://www.nuget.org/packages/Aardvark.OpenCV/)

0 commit comments

Comments
 (0)