Skip to content

Commit

Permalink
CI: Add Linux and MSYS build with logging disabled
Browse files Browse the repository at this point in the history
Closes libusb#1357

Signed-off-by: Tormod Volden <[email protected]>
  • Loading branch information
tormodvolden committed Dec 3, 2023
1 parent a8f7701 commit 30a4434
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ jobs:
- name: debug-log
run: .private/ci-build.sh --build-dir build-debug -- --enable-debug-log

- name: disable-log
run: .private/ci-build.sh --build-dir build-nolog -- --disable-log

- uses: mymindstorm/setup-emsdk@v13

- run: npm ci
Expand Down
13 changes: 7 additions & 6 deletions .github/workflows/msys2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,10 @@ jobs:
msystem: MINGW64
update: true
install: git mingw-w64-x86_64-cc mingw-w64-x86_64-autotools
- name: CI-Build
run: |
echo 'Running in MSYS2!'
./bootstrap.sh
# GCC on MSYS2 doesn't have ASAN support (but Clang does).
./.private/ci-build.sh --build-dir build-msys2 --no-asan
- name: bootstrap
run: ./bootstrap.sh
- name: Build
# GCC on MSYS2 doesn't have ASAN support (but Clang does).
run: ./.private/ci-build.sh --build-dir build-msys2 --no-asan
- name: Build with logging disabled
run: ./.private/ci-build.sh --build-dir build-msys2-nolog --no-asan -- --disable-log
2 changes: 1 addition & 1 deletion libusb/version_nano.h
Original file line number Diff line number Diff line change
@@ -1 +1 @@
#define LIBUSB_NANO 11834
#define LIBUSB_NANO 11835

0 comments on commit 30a4434

Please sign in to comment.