File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed
Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change 3232 - name : UnitTest
3333 run : make test
3434
35+ build-examples :
36+ runs-on : ${{ matrix.os }}
37+ strategy :
38+ matrix :
39+ os : [ ubuntu-latest, macos-latest, windows-2019 ]
40+ steps :
41+ - uses : actions/checkout@v2
42+ - if : matrix.os == 'windows-2019'
43+ name : Windows Dependencies
44+ run : |
45+ iwr -useb get.scoop.sh -outfile 'install-scoop.ps1'
46+ .\install-scoop.ps1 -RunAsAdmin
47+ echo "LIBCLANG_PATH=$($HOME)/scoop/apps/llvm/current/bin" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
48+ echo "$env:USERPROFILE\scoop\shims" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
49+ scoop install llvm yasm
50+ - name : Build Cargo Examples
51+ run : cargo build --examples
52+
3553 linters :
3654 runs-on : ${{ matrix.os }}
3755 strategy :
6482 - unit-test
6583 - linters
6684 - security-audit
85+ - build-examples
6786 runs-on : ubuntu-latest
6887 steps :
6988 - name : CI succeeded
You can’t perform that action at this time.
0 commit comments