-
Notifications
You must be signed in to change notification settings - Fork 102
51 lines (39 loc) · 1.09 KB
/
CI-LoadGenerator.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
name: Component CI - LoadGenerator
on:
pull_request:
paths:
- "src/testing/userload-generator/AzureFunctions/**"
workflow_dispatch:
env:
DOTNET_VERSION: "6.0"
NODEJS_VERSION: "16"
defaults:
run:
working-directory: "src/testing/userload-generator/AzureFunctions"
jobs:
build-and-test-global:
name: Build global orchestrator
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: "Setup .NET Core ${{ env.DOTNET_VERSION }}"
uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{ env.DOTNET_VERSION }}
- name: "Build GlobalOrchestrator"
run: |
cd GlobalOrchestrator
dotnet build
build-and-test-regional:
name: Build regional load generator
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: "Setup Node.js ${{ env.NODEJS_VERSION }}"
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODEJS_VERSION }}
- name: "Build RegionalLoadGenerator"
run: |
cd RegionalLoadGenerator
npm install