Skip to content

Commit

Permalink
Merge pull request #57 from SpringQL/build/aarch64-unknown-linux-gnu
Browse files Browse the repository at this point in the history
build: add `aarch64-unknown-linux-gnu` release targets
  • Loading branch information
laysakura authored Jul 6, 2022
2 parents b68bb17 + f49a7fb commit 2e2d55d
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 11 deletions.
23 changes: 19 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 }}
Expand Down
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ Also check the changes in springql-core: <https://github.com/SpringQL/SpringQL/b
<!-- markdownlint-disable MD024 -->
## [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.
Expand Down Expand Up @@ -112,8 +118,9 @@ Depends on springql-core v0.7.1.
[Semantic Versioning]: https://semver.org/

<!-- Versions -->
[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
Expand Down
10 changes: 5 additions & 5 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "springql-client-c"
version = "0.16.0"
version = "0.16.0+2"

authors = ["Sho Nakatani <lay.sakura@gmail.com>"]
license = "MIT OR Apache-2.0"
Expand Down

0 comments on commit 2e2d55d

Please sign in to comment.