Skip to content

Commit 2e2d55d

Browse files
authored
Merge pull request #57 from SpringQL/build/aarch64-unknown-linux-gnu
build: add `aarch64-unknown-linux-gnu` release targets
2 parents b68bb17 + f49a7fb commit 2e2d55d

File tree

4 files changed

+33
-11
lines changed

4 files changed

+33
-11
lines changed

.github/workflows/release.yml

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,12 @@ jobs:
1717
- os: ubuntu-latest
1818
release-build: true
1919

20+
- os: ubuntu-latest
21+
cross-target: aarch64-unknown-linux-gnu
22+
- os: ubuntu-latest
23+
cross-target: aarch64-unknown-linux-gnu
24+
release-build: true
25+
2026
- os: macos-latest
2127
- os: macos-latest
2228
release-build: true
@@ -63,15 +69,24 @@ jobs:
6369
components: llvm-tools-preview
6470
override: true
6571

72+
- name: Straight build
73+
if: ${{ ! matrix.cross-target }}
74+
run: |
75+
cargo build ${{ steps.set-outputs.outputs.release-build-option }}
76+
6677
- name: Install cross-build toolchain
6778
if: ${{ matrix.cross-target }}
6879
run: |
6980
rustup target add ${{ matrix.cross-target }}
7081
71-
- name: build
72-
run: |
73-
cargo build ${{ steps.set-outputs.outputs.release-build-option }} ${{ steps.set-outputs.outputs.target-option }}
74-
82+
- name: Cross build
83+
if: ${{ matrix.cross-target }}
84+
uses: actions-rs/cargo@v1
85+
with:
86+
use-cross: true
87+
command: build
88+
args: ${{ steps.set-outputs.outputs.release-build-option }} ${{ steps.set-outputs.outputs.target-option }}
89+
7590
- name: create artifact
7691
run: |
7792
artifact_dir=springql_client-${{ steps.set-outputs.outputs.build-target }}-${{ steps.set-outputs.outputs.build-type }}

CHANGELOG.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@ Also check the changes in springql-core: <https://github.com/SpringQL/SpringQL/b
1313
<!-- markdownlint-disable MD024 -->
1414
## [Unreleased]
1515

16+
## [v0.16.0+2] - 2022-07-06
17+
18+
### Added
19+
20+
- Release artifacts for `aarch64-unknown-linux-gnu` ([#57](https://github.com/SpringQL/SpringQL-client-c/pull/57))
21+
1622
## [v0.16.0] - 2022-07-05
1723

1824
Depends on springql v0.16.0.
@@ -112,8 +118,9 @@ Depends on springql-core v0.7.1.
112118
[Semantic Versioning]: https://semver.org/
113119

114120
<!-- Versions -->
115-
[Unreleased]: https://github.com/SpringQL/SpringQL-client-c/compare/v0.16.0...HEAD
121+
[Unreleased]: https://github.com/SpringQL/SpringQL-client-c/compare/v0.16.0+2...HEAD
116122
[Released]: https://github.com/SpringQL/SpringQL-client-c/releases
123+
[v0.16.0+2]: https://github.com/SpringQL/SpringQL-client-c/compare/v0.16.0...v0.16.0+2
117124
[v0.16.0]: https://github.com/SpringQL/SpringQL-client-c/compare/v0.15.0+2...v0.16.0
118125
[v0.15.0+2]: https://github.com/SpringQL/SpringQL-client-c/compare/v0.15.0...v0.15.0+2
119126
[v0.15.0]: https://github.com/SpringQL/SpringQL-client-c/compare/v0.14.0...v0.15.0

Cargo.lock

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "springql-client-c"
3-
version = "0.16.0"
3+
version = "0.16.0+2"
44

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

0 commit comments

Comments
 (0)