Skip to content

Commit 03b119c

Browse files
Mr-Bossmansonatique
authored andcommitted
CI: Add MSYS2 Clang64 AArch64 workflow
Add a new GitHub Actions workflow for arm64 Windows builds. Closes libusb#1666 Signed-off-by: Jesse Taube <[email protected]>
1 parent 4396c77 commit 03b119c

File tree

2 files changed

+30
-1
lines changed

2 files changed

+30
-1
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: MSYS2 aarch64 clang64
2+
on: [push, pull_request]
3+
4+
jobs:
5+
build:
6+
runs-on: windows-11-arm
7+
defaults:
8+
run:
9+
shell: msys2 {0}
10+
steps:
11+
- uses: actions/checkout@v4
12+
- uses: msys2/setup-msys2@v2
13+
with:
14+
msystem: clangarm64
15+
update: true
16+
install: git mingw-w64-clang-aarch64-cc mingw-w64-clang-aarch64-autotools
17+
- name: CI-Build
18+
run: |
19+
echo 'Running in MSYS2!'
20+
./bootstrap.sh
21+
./.private/ci-build.sh --no-asan --build-dir build-msys2-clang64-aarch64
22+
23+
- uses: actions/upload-artifact@v4
24+
with:
25+
name: build-msys2-clang64-aarch64
26+
path: |
27+
build-msys2-clang64-aarch64/libusb/.libs/libusb-1.0.dll.a
28+
build-msys2-clang64-aarch64/libusb/.libs/libusb-1.0.a
29+
build-msys2-clang64-aarch64/libusb/.libs/libusb-1.0.dll

libusb/version_nano.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
#define LIBUSB_NANO 11963
1+
#define LIBUSB_NANO 11964

0 commit comments

Comments
 (0)