File tree Expand file tree Collapse file tree 6 files changed +849
-0
lines changed Expand file tree Collapse file tree 6 files changed +849
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Performance
2
+
3
+ on : [pull_request]
4
+
5
+ jobs :
6
+ perf :
7
+ runs-on : Ubuntu-18.04
8
+ steps :
9
+ - name : Checkout
10
+ uses : actions/checkout@master
11
+ with :
12
+ fetch-depth : 1
13
+ - name : Run Benchmark
14
+ run : |
15
+ git clone https://github.com/kylef/swiftenv.git ~/.swiftenv
16
+ export SWIFTENV_ROOT="$HOME/.swiftenv"
17
+ export PATH="$SWIFTENV_ROOT/bin:$PATH"
18
+ eval "$(swiftenv init -)"
19
+ swiftenv install $TOOLCHAIN_DOWNLOAD
20
+ make perf-tester
21
+ node ci/perf-tester
22
+ env :
23
+ TOOLCHAIN_DOWNLOAD : https://github.com/swiftwasm/swift/releases/download/swift-wasm-5.3-SNAPSHOT-2020-08-10-a/swift-wasm-5.3-SNAPSHOT-2020-08-10-a-linux.tar.gz
24
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -22,3 +22,7 @@ benchmark_setup:
22
22
.PHONY : run_benchmark
23
23
run_benchmark :
24
24
cd IntegrationTests && make -s run_benchmark
25
+
26
+ .PHONY : perf-tester
27
+ perf-tester :
28
+ cd ci/perf-tester && npm install
You can’t perform that action at this time.
0 commit comments