Commit graph

48 commits

Author SHA1 Message Date
Fabian
fff0df6665 include msdos image for tests, and use curl over wget 2025-06-11 21:36:51 +07:00
Rob Blanckaert
a9219613af Switch to es6 modules. 2025-04-06 08:53:49 -07:00
Fabian
ff56eed36b ci 2 2025-03-25 16:07:15 +07:00
Fabian
1f9a5fbc68 ci 2025-03-25 13:19:59 +07:00
Fabian
d24565479d setup-node is needed for npm publish 2025-03-25 12:47:39 +07:00
Fabian
62ca883ca2 NODE_AUTH_TOKEN -> NPM_TOKEN 2025-03-25 12:20:46 +07:00
Fabian
970de79d2b fetch history so we can use git describe --tags later 2025-03-25 02:55:44 +07:00
Fabian
4990c43930 update package.json version earlier 2025-03-25 01:53:54 +07:00
Fabian
59ffdcb2dd npm version number from git describe 2025-03-25 01:13:58 +07:00
Rob Blanckaert
573dc8335e More Github actions fixes 2025-03-25 01:13:58 +07:00
Rob Blanckaert
6db1595e61 npm: Change version to 0.build.0, add Readme and LICENSE to package 2025-03-24 02:54:43 -07:00
Rob Blanckaert
876ced60da Publish builds to npm. 2025-03-23 03:15:07 -07:00
Rob Blanckaert
73abd4aa9a Actually upload mjs artifacts. 2025-02-20 01:11:26 -07:00
Rob Blanckaert
f8d5dd70b9 Build and publish libv86-debug as Module Script
Also fix export in nodejs-loader.mjs
2025-02-18 04:24:39 -07:00
SuperMaxusa
11cd877bb8 mention Windows NT setup guide in issue template 2025-01-06 12:31:06 -07:00
SuperMaxusa
7e30b3a932 ci: update actions from v3 to v4 2025-01-02 12:05:00 -07:00
SuperMaxusa
15372291db mention Windows 9x setup guide in issue template 2024-11-08 12:25:33 -06:00
SuperMaxusa
a9a538fe89 ci: set 1 hour timeout for "Build and test" job 2024-09-26 21:22:36 -06:00
Fabian
725a4e3b47 update buildroot image
with 6.8 kernel, virtio drivers (virtio-net, virtio-balloon,
virtio-console) and some networking utils (socat and tcpdump)
Thanks @SuperMaxusa
2024-09-15 16:31:48 -06:00
Fabian
15c661bf67
add issue template 2024-09-12 21:44:38 +02:00
Fabian
4061c8d762 update cdn url 2024-08-27 21:42:13 +02:00
SuperMaxusa
69f71f66af
ci: use Node.js v20 (#1100) 2024-08-01 17:15:40 +02:00
Rob Blanckaert
92c936d632
network: Fetch based browser networking (#1061)
Emulate a networking stack, intercept HTTP requests, serve
them with fetch().  Enable by setting networking_proxy=fetch

Somewhat fixes #198

Just enough networking for http to work for package managers and
net-boot. The networking stack just reflects the macaddress of
packets it receives, so shouldnt be bothered by mac address
changes. Services include:

- ARP replies by establishing the gateways IP
- DHCP server sending gateway, dns, and client-ip
  - Gateway: 192.168.86.1
  - Client: 192.168.86.100
  - Netmask: 255.255.255.0
- UDP DNS server, all addresses resolve to: 192.168.87.1
- NTP Server, giving out the current time from Date()
- Replies to ICMP pings to any IP address
- UDP echo server on port 8

Limitations:
- Request are limited by CORS rules, but CORS-proxies can work around
  this.
- Redirects are handled transparently by fetch. The upside is sites that
  force an http->https upgrade appear to the VM to work over http.

Future Work:
- Allow HTTP requests from browser to be served by VM.
- HTTPS support (maybe with help of a rust based TLS stack in WASM)
- Support for POSTing binary data

* Run devices tests in CI
* Allow multiple Ne2k adapters

Co-authored-by: Fabian <copy@copy.sh>
2024-07-24 16:22:53 +02:00
Fabian
49477e9071 switch from jshint to eslint 2024-07-01 13:12:50 +02:00
Fabian
8fd8d77eef run rustfmt on CI 2024-04-20 19:24:56 +09:00
Rob Blanckaert
fe7a0fbd0f Publish artifacts 2023-12-09 10:32:29 -06:00
Fabian
c86dc4f642 nasmtests: more tests, new large arithmetic test generation, compile faster 2023-10-07 12:59:16 -05:00
Fabian
022368ea0d Don't upload other js files 2023-09-20 08:57:41 -05:00
Belle Aerni
7f2d70beaf Merge them into one workflow 2023-09-09 18:30:17 +02:00
Belle Aerni
fc51f2b9d2 Significantly improve the release workflow 2023-09-09 18:30:17 +02:00
Belle Aerni
e59deeb7e5 Remove usage of the token 2023-09-09 18:30:17 +02:00
Belle Aerni
a6ae0b5d10 Bump checkout to v4 since that's now out 2023-09-09 18:30:17 +02:00
Belle Aerni
d0cb317c76 Use the commit message for the release body 2023-09-09 18:30:17 +02:00
Belle Aerni
c3c3a52fbc Update GitHub Actions 2023-09-09 18:30:17 +02:00
Fabian
7ab26e175e upgrade CI image to ubuntu-22.04 2022-08-02 21:40:57 +09:00
Fabian
503eeb0921 Only build working parts of kvm-unit-test 2022-01-31 09:45:21 -06:00
Fabian
46b497c74b Run tests on all branches 2021-11-04 21:46:59 -05:00
Fabian
016dbd3e26 Enable tests for the wasm branch 2021-05-22 23:59:24 -05:00
Fabian
aacb6a49d7 Rust: Switch from nightly to stable 2021-04-05 01:58:42 -05:00
Rob Blanckaert
98e7110c2f Build v86-fallback.wasm during github release. 2021-02-16 12:21:22 -06:00
Fabian
a031ab552f Fix yaml syntax 2021-01-16 12:53:37 -06:00
Fabian
ed1e5b2f61 Install dependencies 2021-01-16 12:49:34 -06:00
Fabian
1e8c3a534a Include .wasm in release (fix #389) 2021-01-16 12:27:23 -06:00
Fabian
81f4990621 Disable qnx test for now 2021-01-04 03:15:23 -06:00
Fabian
d19fd26e46 CI 2021-01-03 23:04:40 -06:00
Benjamin Aerni
7df9050845 Don't build ACPI 2020-09-06 23:48:42 +02:00
Fabian
94b86c0842 Include sourcemap in automatic builds 2020-04-25 00:50:34 +02:00
Filip Š
e99ba6e33e Switch to GitHub Releases for build storage 2020-04-22 22:32:48 +02:00