Bump version to 0.16.1 #59
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: CI | |
on: [push, pull_request] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
strategy: | |
matrix: | |
include: | |
- target: "armv7-unknown-linux-gnueabihf" | |
linker: "arm-linux-gnueabihf-gcc" | |
dependencies: "crossbuild-essential-armhf" | |
- target: "aarch64-unknown-linux-gnu" | |
linker: "aarch64-linux-gnu-gcc" | |
dependencies: "crossbuild-essential-arm64" | |
- target: "armv7-unknown-linux-musleabihf" | |
linker: "arm-linux-gnueabihf-gcc" | |
dependencies: "crossbuild-essential-armhf" | |
- target: "aarch64-unknown-linux-musl" | |
linker: "aarch64-linux-gnu-gcc" | |
dependencies: "crossbuild-essential-arm64" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install target | |
run: rustup target add ${{ matrix.target }} | |
- name: Install dependencies | |
run: sudo apt-get -qq install ${{ matrix.dependencies }} | |
- name: Build (debug) | |
run: cargo build --all-features --target ${{ matrix.target }} --config target.${{ matrix.target }}.linker=\"${{ matrix.linker }}\" | |
- name: Build (release) | |
run: cargo build --all-features --target ${{ matrix.target }} --config target.${{ matrix.target }}.linker=\"${{ matrix.linker }}\" --release |