File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change 6060 - name : Clippy
6161 if : ${{ matrix.rust.version != '1.48.0' }}
6262 run : cargo clippy ${{ matrix.build-args }} -- -D warnings
63+
64+ build-ffi :
65+ name : Build FFI
66+ runs-on : ubuntu-latest
67+ defaults :
68+ run :
69+ working-directory : ./negentropy-ffi
70+ strategy :
71+ matrix :
72+ rust :
73+ - version : stable # STABLE
74+ steps :
75+ - name : Checkout
76+ uses : actions/checkout@v3
77+ - name : Cache
78+ uses : actions/cache@v3
79+ with :
80+ path : |
81+ ~/.cargo/registry
82+ ~/.cargo/git
83+ target
84+ key : ${{ runner.os }}-cargo-ffi-${{ hashFiles('**/Cargo.toml','**/Cargo.lock') }}
85+ - name : Set default toolchain
86+ run : rustup default ${{ matrix.rust.version }}
87+ - name : Set profile
88+ run : rustup set profile minimal && rustup component add clippy
89+ - name : Build
90+ run : cargo build
91+ - name : Tests
92+ run : cargo test
93+ - name : Clippy
94+ run : cargo clippy -- -D warnings
6395
You can’t perform that action at this time.
0 commit comments