File tree 3 files changed +12
-5
lines changed
3 files changed +12
-5
lines changed Original file line number Diff line number Diff line change 13
13
strategy :
14
14
fail-fast : false
15
15
matrix :
16
- os : [ubuntu-22.04]
16
+ os : [ubuntu-22.04, ubuntu-22.04-arm ]
17
17
18
18
steps :
19
19
- uses : actions/checkout@v3
67
67
- name : Create Release
68
68
uses : ncipollo/release-action@v1
69
69
with :
70
- artifacts : " hs5.xz"
70
+ artifacts : " hs5* .xz"
Original file line number Diff line number Diff line change 1
1
cmake_minimum_required (VERSION 3.21)
2
- project (hs5 VERSION 0.1.4 LANGUAGES CXX C)
2
+ project (hs5 VERSION 0.1.6 LANGUAGES CXX C)
3
3
4
4
set (CMAKE_EXPORT_COMPILE_COMMANDS ON )
5
5
@@ -19,7 +19,7 @@ set(APIGEN_SCHEMAS
19
19
ListParams
20
20
ListResp
21
21
)
22
-
22
+
23
23
24
24
add_custom_target (apigen)
25
25
foreach (SCHEMA ${APIGEN_SCHEMAS} )
Original file line number Diff line number Diff line change @@ -21,5 +21,12 @@ cmake --preset ninja-multi-vcpkg
21
21
22
22
cmake --build --preset ninja-vcpkg-release
23
23
24
- xz -z -c ./builds/ninja-multi-vcpkg/Release/hs5 > ./hs5.xz
24
+ OUT_FN=hs5.xz
25
+ ARCH=$( uname -m)
26
+ echo " ARCH: $ARCH "
27
+ if [[ " $ARCH " == " aarch64" ]]; then
28
+ OUT_FN=hs5-arm64.xz
29
+ fi
30
+
31
+ xz -z -c ./builds/ninja-multi-vcpkg/Release/hs5 > ./$OUT_FN
25
32
You can’t perform that action at this time.
0 commit comments