EPROD-1117 pop_first and pop_last for btreemap #1073
Workflow file for this run
This file contains 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
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- README.md | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
name: Clippy, fmt and tests | |
jobs: | |
test: | |
name: Build and Test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install rust toolchain | |
uses: dtolnay/rust-toolchain@stable | |
with: | |
components: clippy, rustfmt | |
target: wasm32-unknown-unknown, i686-unknown-linux-gnu | |
- name: Install Just command runner | |
uses: extractions/setup-just@v1 | |
- name: install ic-wasm | |
run: | | |
wget https://github.com/dfinity/ic-wasm/releases/download/0.8.1/ic-wasm-linux64 -O /usr/local/bin/ic-wasm | |
chmod +x /usr/local/bin/ic-wasm | |
- name: check rust code style | |
run: | | |
just check_code | |
- name: build | |
run: | | |
just build | |
- name: test | |
run: | | |
just test | |
- name: 32bits test | |
run: | | |
sudo apt install gcc-multilib | |
just test_i686 | |