version: 2 jobs: build: docker: - image: rustlang/rust:nightly steps: - run: apt -y update --fix-missing - run: apt -y install cmake - checkout - run: git submodule update --init --recursive - run: cargo build - run: cd examples && ./test.sh - run: | git clean -dfx cargo build --no-default-features --features cmake