-
Notifications
You must be signed in to change notification settings - Fork 15
33 lines (31 loc) · 940 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: ci
on:
push:
branches:
- master
pull_request:
branches:
- master
workflow_dispatch:
jobs:
build-and-test:
name: build-and-test--${{ matrix.os-version }}
runs-on: ${{ matrix.os-version }}
strategy:
matrix:
os-version: [windows-latest] #, ubuntu-latest, macos-latest]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-dotnet@v4
with:
dotnet-version: |
6.0.x
global-json-file: global.json
- name: restore
run: dotnet restore VertiPaq-Analyzer.sln
- name: build
run: dotnet build VertiPaq-Analyzer.sln --configuration Release --no-restore
- name: test
run: dotnet test VertiPaq-Analyzer.sln --configuration Release --no-build --verbosity normal
- name: pack
run: dotnet pack VertiPaq-Analyzer.sln --configuration Release --no-build --no-restore --verbosity normal