aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIngvar Stepanyan <me@rreverser.com>2023-11-28 01:40:33 +0000
committerTormod Volden <debian.tormod@gmail.com>2023-11-30 11:54:27 +0100
commitbd91a0c145766beeddb07d47032e890456a03d67 (patch)
tree695d7258ee20de0fbdf97e3ad70c3bfa37786749
parentfd315026f4be74b0324481bd18fd6ce05580c73c (diff)
downloadlibusb-bd91a0c145766beeddb07d47032e890456a03d67.tar.gz
CI: Enable Emscripten build
Closes #1351
-rw-r--r--.github/workflows/linux.yml9
-rw-r--r--libusb/version_nano.h2
2 files changed, 10 insertions, 1 deletions
diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml
index c70af98..28362e1 100644
--- a/.github/workflows/linux.yml
+++ b/.github/workflows/linux.yml
@@ -40,5 +40,14 @@ jobs:
shell: bash
run: .private/ci-build.sh --build-dir build-debug -- --enable-debug-log
+ - uses: mymindstorm/setup-emsdk@v13
+
+ - run: npm ci
+ working-directory: tests/webusb-test-shim
+
+ - name: emscripten
+ shell: bash
+ run: emconfigure .private/ci-build.sh --build-dir build-emscripten -- --host=wasm32-unknown-emscripten
+
- name: umockdev test
run: .private/ci-container-build.sh docker.io/amd64/ubuntu:rolling
diff --git a/libusb/version_nano.h b/libusb/version_nano.h
index 0dea503..2b3a4fd 100644
--- a/libusb/version_nano.h
+++ b/libusb/version_nano.h
@@ -1 +1 @@
-#define LIBUSB_NANO 11827
+#define LIBUSB_NANO 11828