Skip to content

Commit

Permalink
Merge branch 'master' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
hugoledoux committed Aug 16, 2023
2 parents 02bce78 + 574e3c8 commit 3e62644
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 20 deletions.
67 changes: 49 additions & 18 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,26 +3,57 @@ name: Rust
on:
push:
branches:
- master
- master
- develop
pull_request:
schedule:
- cron: '0 6 1 * *' # Run on the first day of every month at 06:00 UTC
schedule:
- cron: '0 6 1 * *' # Run on the first day of every month at 06:00 UTC
workflow_dispatch:

jobs:
build:
runs-on: ${{ matrix.os }}-latest
strategy:
matrix:
os: [ubuntu, windows, macos]
fail-fast: false
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:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
- name: Build
run: cargo build --release --verbose
# - name: Run tests
# run: cargo test --verbose
- 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
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

[package]
name = "startin"
version = "0.7.0-dev"
version = "0.7.0"
authors = ["Hugo Ledoux <[email protected]>"]
edition = "2021"
license = "MIT"
Expand Down
3 changes: 2 additions & 1 deletion changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).


## [0.7.0] - XXX
## [0.7.0] - 2023-08-16
## Changed
- interpolate methods are now in a separate module and thus the way to call them is totally different. Not backwards compatible either, see `/examples/interpol.rs` for how to use them.
- IDW was added to the list of interpolation, the simplest version with a search radius.
Expand Down Expand Up @@ -127,6 +127,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added
- first release and upload to crates.io

[0.7.0]: https://github.com/hugoledoux/startin/compare/0.6.1...0.7.0
[0.6.2]: https://github.com/hugoledoux/startin/compare/0.6.1...0.6.2
[0.6.1]: https://github.com/hugoledoux/startin/compare/0.6.0...0.6.1
[0.6.0]: https://github.com/hugoledoux/startin/compare/0.5.3...0.6.0

0 comments on commit 3e62644

Please sign in to comment.