File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed
Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -186,9 +186,9 @@ jobs:
186186 # This changes a variable, so is only set when a custom SDK is used
187187 run : echo "SDKROOT=$HOME/extern/sdk" >> $GITHUB_ENV
188188
189- - name : Install Clang
189+ - name : Install Clang & Valgrind
190190 if : contains(matrix.os, 'ubuntu')
191- run : sudo apt-get -y install clang
191+ run : sudo apt-get -y install clang valgrind
192192
193193 - name : Install cross compilation tools
194194 if : matrix.target == 'i686-unknown-linux-gnu'
@@ -327,6 +327,15 @@ jobs:
327327 command : test
328328 args : --features ${{ env.FEATURES }} ${{ env.TESTARGS }} --release
329329
330+ - name : Run benchmarks
331+ # Difficult to install Valgrind on macOS
332+ # See https://github.com/LouisBrunner/valgrind-macos
333+ if : contains(matrix.os, 'ubuntu')
334+ uses : actions-rs/cargo@v1
335+ with :
336+ command : bench
337+ args : --package objc2 --bench autorelease ${{ env.TESTARGS }}
338+
330339 - name : Test with unstable features
331340 if : ${{ !matrix.dinghy && matrix.rust.toolchain == 'nightly' }}
332341 uses : actions-rs/cargo@v1
You can’t perform that action at this time.
0 commit comments