Update document link in README #401
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
name: Continuous Integration | |
on: [push, pull_request, workflow_dispatch] | |
jobs: | |
build-msrv: | |
name: "All tests: rustc MSRV" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Rust MSRV | |
uses: actions-rust-lang/setup-rust-toolchain@v1 | |
with: | |
toolchain: 1.66.0 | |
rustflags: "" | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.x" | |
- name: Install cross-compilation toolchains | |
run: | | |
sudo apt update | |
sudo apt install -y gcc-multilib | |
# For target: armv7-unknown-linux-gnueabihf | |
sudo apt install -y gcc-arm-linux-gnueabihf | |
# For target: aarch64-unknown-linux-gnu | |
sudo apt install -y gcc-aarch64-linux-gnu | |
- name: Execute all tests | |
run: ./ci.sh | |
build-stable: | |
name: "All tests: rustc stable" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install latest Rust | |
uses: actions-rust-lang/setup-rust-toolchain@v1 | |
with: | |
toolchain: stable | |
rustflags: "" | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.x" | |
- name: Install cross-compilation toolchains | |
run: | | |
sudo apt update | |
sudo apt install -y gcc-multilib | |
# For target: armv7-unknown-linux-gnueabihf | |
sudo apt install -y gcc-arm-linux-gnueabihf | |
# For target: aarch64-unknown-linux-gnu | |
sudo apt install -y gcc-aarch64-linux-gnu | |
- name: Execute all tests | |
run: | | |
rm Cargo.lock | |
./ci.sh |