forked from superstreamlabs/memphis.net
-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (26 loc) · 837 Bytes
/
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
name: Memphis SDK Build
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x
- name: Download docker-compose file
run: |
curl -s https://memphisdev.github.io/memphis-docker/docker-compose-dev.yml -o docker-compose.yaml
- name: Run docker-compose file
run: docker compose -f docker-compose.yaml -p memphis up -d
- name: Restore dependencies
run: dotnet restore src/Memphis.Client.sln
- name: Build
run: dotnet build --no-restore src/Memphis.Client.sln
- name: Test
run: dotnet test --no-build --verbosity normal --filter CI!=Skip src/Memphis.Client.sln