Bump version to v0.8.0 #66
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: Rust | |
on: | |
push: | |
branches: | |
- master | |
- develop | |
pull_request: | |
schedule: | |
- cron: '0 6 1 * *' # Run on the first day of every month at 06:00 UTC | |
workflow_dispatch: | |
jobs: | |
build_linux: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Build | |
run: cargo build --release --verbose | |
build_macos: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Build | |
run: cargo build --release --verbose | |
build_windows: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Build | |
run: cargo build --release --verbose | |
run_tests: | |
runs-on: ubuntu-latest | |
container: | |
image: osgeo/gdal:ubuntu-full-3.4.0 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Install build deps | |
shell: bash | |
run: | | |
apt-get update -y | |
apt-get install build-essential curl pkg-config libclang-dev -y | |
curl --proto '=https' --tlsv1.2 --retry 10 --retry-connrefused -fsSL "https://sh.rustup.rs" | sh -s -- --profile minimal --default-toolchain none -y | |
echo "${CARGO_HOME:-$HOME/.cargo}/bin" >> $GITHUB_PATH | |
- name: Setup building | |
run: | | |
export CC="clang-9" | |
export CXX="clang++-9" | |
- name: Install stable | |
run: | | |
rustup install --no-self-update --profile minimal stable | |
rustup component add rustfmt clippy | |
- name: Run tests | |
run: cargo test --release --all-features --verbose |