diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cdeacd9..62970cf 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,6 +17,12 @@ jobs: - os: ubuntu-latest release-build: true + - os: ubuntu-latest + cross-target: aarch64-unknown-linux-gnu + - os: ubuntu-latest + cross-target: aarch64-unknown-linux-gnu + release-build: true + - os: macos-latest - os: macos-latest release-build: true @@ -63,15 +69,24 @@ jobs: components: llvm-tools-preview override: true + - name: Straight build + if: ${{ ! matrix.cross-target }} + run: | + cargo build ${{ steps.set-outputs.outputs.release-build-option }} + - name: Install cross-build toolchain if: ${{ matrix.cross-target }} run: | rustup target add ${{ matrix.cross-target }} - - name: build - run: | - cargo build ${{ steps.set-outputs.outputs.release-build-option }} ${{ steps.set-outputs.outputs.target-option }} - + - name: Cross build + if: ${{ matrix.cross-target }} + uses: actions-rs/cargo@v1 + with: + use-cross: true + command: build + args: ${{ steps.set-outputs.outputs.release-build-option }} ${{ steps.set-outputs.outputs.target-option }} + - name: create artifact run: | artifact_dir=springql_client-${{ steps.set-outputs.outputs.build-target }}-${{ steps.set-outputs.outputs.build-type }} diff --git a/CHANGELOG.md b/CHANGELOG.md index 765fba1..7e5c8f6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,12 @@ Also check the changes in springql-core: ## [Unreleased] +## [v0.16.0+2] - 2022-07-06 + +### Added + +- Release artifacts for `aarch64-unknown-linux-gnu` ([#57](https://github.com/SpringQL/SpringQL-client-c/pull/57)) + ## [v0.16.0] - 2022-07-05 Depends on springql v0.16.0. @@ -112,8 +118,9 @@ Depends on springql-core v0.7.1. [Semantic Versioning]: https://semver.org/ -[Unreleased]: https://github.com/SpringQL/SpringQL-client-c/compare/v0.16.0...HEAD +[Unreleased]: https://github.com/SpringQL/SpringQL-client-c/compare/v0.16.0+2...HEAD [Released]: https://github.com/SpringQL/SpringQL-client-c/releases +[v0.16.0+2]: https://github.com/SpringQL/SpringQL-client-c/compare/v0.16.0...v0.16.0+2 [v0.16.0]: https://github.com/SpringQL/SpringQL-client-c/compare/v0.15.0+2...v0.16.0 [v0.15.0+2]: https://github.com/SpringQL/SpringQL-client-c/compare/v0.15.0...v0.15.0+2 [v0.15.0]: https://github.com/SpringQL/SpringQL-client-c/compare/v0.14.0...v0.15.0 diff --git a/Cargo.lock b/Cargo.lock index a0b00c4..d744b06 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1035,16 +1035,16 @@ dependencies = [ [[package]] name = "springql" -version = "0.15.0" +version = "0.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da58baea4bfb7abfd7ef35808e706a5c71aaaa86e562ca432fcabdc91ae0fe66" +checksum = "2cce250c5b95d7d4bdfd3eaa6df5f3285719fd8acccb5f82b20b6e653c64d4df" dependencies = [ "springql-core", ] [[package]] name = "springql-client-c" -version = "0.15.0+2" +version = "0.16.0" dependencies = [ "cbindgen", "log", @@ -1053,9 +1053,9 @@ dependencies = [ [[package]] name = "springql-core" -version = "0.15.0" +version = "0.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "71653c025190cf6e78990f35eb18c7941718774a862bac992b0633b421132451" +checksum = "96d5ef360ba75b988473437fa942f1f6938367e9ed634d623259eff07356e6f1" dependencies = [ "anyhow", "config", diff --git a/Cargo.toml b/Cargo.toml index 06b7a87..63d2685 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "springql-client-c" -version = "0.16.0" +version = "0.16.0+2" authors = ["Sho Nakatani "] license = "MIT OR Apache-2.0"