-
-
Notifications
You must be signed in to change notification settings - Fork 1
41 lines (38 loc) · 1.22 KB
/
Benchmark.yml
File metadata and controls
41 lines (38 loc) · 1.22 KB
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
# ***********************************************************
# * TakymLib *
# * Copyright (C) 2020-2022 Yigty.ORG; all rights reserved. *
# * Copyright (C) 2020-2022 Takym. *
# * *
# * distributed under the MIT License. *
# ***********************************************************
name: "Benchmark"
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
Benchmark:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x
# Build
- name: Build (Target Programs)
run: dotnet build -c ReleaseW
- name: Build (Testing Environment)
run: dotnet build -c BenchmarkW
# Test
- name: Test
run: dotnet test -c BenchmarkW --no-build --verbosity normal
# Upload Artifacts
- name: Save Benchmarks Results
uses: actions/upload-artifact@v3.1.0
with:
name: benchmarks-results
path: tests/bin/Benchmark/**