Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: add aarch64-unknown-linux-gnu release targets #57

Merged
merged 8 commits into from
Jul 6, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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