@@ -4,6 +4,9 @@ on: [push, pull_request]
44
55jobs :
66 bloat :
7+ if : >-
8+ ! contains(toJSON(github.event.commits.*.message), '[skip ci]') &&
9+ ! contains(toJSON(github.event.commits.*.message), '[skip github]')
710 runs-on : ubuntu-20.04
811 env :
912 cmakeflags : ' -DCMAKE_BUILD_TYPE=Release -DSIMDJSON_BUILD_STATIC=On -DSIMDJSON_JUST_LIBRARY=On'
1215 uses : jwlawson/actions-setup-cmake@v1.4
1316 with :
1417 cmake-version : ' 3.16.x'
18+
19+ - uses : actions/cache@v2
20+ with :
21+ path : dependencies/.cache
22+ key : ${{ hashFiles('dependencies/CMakeLists.txt') }}
23+
1524 - name : Fetch head
1625 uses : actions/checkout@v2
1726 with :
@@ -22,13 +31,11 @@ jobs:
2231 cmake --build build-head --target install
2332 - name : Bloat analysis - absolute values
2433 id : absolute
25- uses : djarek /bloaty-analyze@v1.0.0
34+ uses : pauldreik /bloaty-analyze@v1.0.0
2635 with : # see https://github.com/marketplace/actions/bloaty-analyze for explanations what these do
2736 file : install-head/lib/libsimdjson.a
2837 rows : 0
29- - name : " store results"
30- run : |
31- echo -E "${{ steps.absolute.outputs.analysis-result }}" > bloaty-sizes.txt
38+ resultsfile : ' bloaty-sizes.txt'
3239 - name : Fetch base
3340 if : ${{ github.event_name == 'pull_request' }}
3441 uses : actions/checkout@v2
4855 file : install-head/lib/libsimdjson.a
4956 base-file : install-base/lib/libsimdjson.a
5057 rows : 0
51- - name : " store results"
52- run : |
53- echo -E "${{ steps.diff.outputs.analysis-result }}" > bloaty-diff.txt
58+ resultsfile : ' bloaty-diff.txt'
5459 - uses : actions/upload-artifact@v2
5560 with :
5661 name : bloaty
0 commit comments