Constants and classes MariaDB COM_STMT_BULK_EXECUTE command #309
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Rust | |
| on: | |
| push: | |
| branches: [master, v0.28.x] | |
| pull_request: | |
| branches: [master] | |
| env: | |
| RUSTFLAGS: -D warnings | |
| CARGO_TERM_COLOR: always | |
| RUST_BACKTRACE: 1 | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Rustfmt | |
| run: cargo fmt -- --check | |
| - name: Features subsets | |
| run: | | |
| ruby -e "fs=['bigdecimal', 'chrono', 'rust_decimal', 'time', 'frunk', 'derive', 'binlog', 'client_ed25519']; \ | |
| (1..fs.length).each do |n| puts fs.combination(n).to_a.map {|x| x.join(\" \")}.join(\"\n\"); end" \ | |
| | while read -r line; do \ | |
| echo "$line" && cargo check --quiet --tests --no-default-features --features "flate2/zlib test $line" --profile features-subsets; \ | |
| done | |
| - name: Build | |
| run: cargo build | |
| - name: Run tests | |
| run: cargo test --features test | |
| - name: Run derive tests | |
| run: (cd derive && cargo test) |