-
Notifications
You must be signed in to change notification settings - Fork 11
44 lines (42 loc) · 1.1 KB
/
build.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
34
35
36
37
38
39
40
41
42
43
44
name: Build
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
linux:
runs-on: ubuntu-latest
env:
ARTEMIS_USERNAME: "artemis"
ARTEMIS_PASSWORD: "artemis"
ARTEMIS_HOST: "localhost"
ARTEMIS_PORT: 5672
ARTEMIS_WS_PORT: 80
steps:
- uses: actions/checkout@v1
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: "8.0.x"
- name: Run ActiveMQ Artemis
run: docker compose up -V -d
working-directory: ./test/artemis
- name: Build with dotnet
run: dotnet build --configuration Release
- name: Test with dotnet
run: dotnet test --configuration Release
windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v1
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: "8.0.x"
- name: Build with dotnet
run: dotnet build --configuration Release
- name: Test with dotnet
run: dotnet test --filter "FullyQualifiedName!~IntegrationTests"