-
Notifications
You must be signed in to change notification settings - Fork 18
52 lines (43 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
45
46
47
48
49
50
51
52
name: Build
on:
push:
branches:
- master
pull_request:
branches:
- master
workflow_dispatch:
jobs:
build:
timeout-minutes: 20
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
dotnet:
- 8.x
arango:
- "arangodb:3.11"
# - "arangodb:3.10"
# - "arangodb/enterprise:3.9"
topology:
- single
# - cluster
steps:
- uses: actions/checkout@v3
- name: chmod
run: find ./docker -name '*.sh' | xargs chmod +x
- name: arango
run: ./docker/start_db_${{ matrix.topology }}_retry_fail.sh ${{ matrix.arango }}
env:
ARANGO_LICENSE_KEY: ${{ secrets.ARANGO_LICENSE_KEY }}
- name: dotnet
uses: actions/setup-dotnet@v3
with:
dotnet-version: ${{ matrix.dotnet }}
- name: build
run: dotnet build --configuration Release
- name: test
run: dotnet test --configuration Release
env:
ARANGODB_CONNECTION: "Server=http://172.28.3.1:8529;Realm=CI-{UUID};User=root;Password=test;"