-
-
Notifications
You must be signed in to change notification settings - Fork 37
39 lines (32 loc) · 1.16 KB
/
benchmark-build-speed.yml
File metadata and controls
39 lines (32 loc) · 1.16 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
name: Benchmark build speed and upload results
on:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
benchmark:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- name: Checkout Duckduckgo
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
repository: duckduckgo/Android
path: scripts/benchmark/Android
ref: 1301996268b2c6c02ea0ae88934eca9da74bf806
submodules: true
- name: Install SDKMAN, Gradle Profiler and Begin Profiling
run: |
curl -s "https://get.sdkman.io" | bash
source "$HOME/.sdkman/bin/sdkman-init.sh"
sdk install gradleprofiler 0.17.0
cd scripts/benchmark
chmod +x benchmark-build-speed.sh
./benchmark-build-speed.sh
- name: Upload results
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
with:
name: ${{ github.sha }}
path: ${{ github.workspace }}/scripts/benchmark/results/