-
Notifications
You must be signed in to change notification settings - Fork 960
More CI tragets: Linux 32bit, Windows and Cosmopolitan #393
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
e4feb5b
to
129b3c1
Compare
removing pthreads for windows is not needed. You should instead copy the msys pthread library to the current directory before running the tests. |
will do, thank you Sorry for misunderstanding, I misunderstood that pthreads wasn't going to work for windows, but I think it's workers that won't work on windows but atomics should. |
129b3c1
to
2097f8c
Compare
2097f8c
to
54b562d
Compare
Updated: brought back pthreads for windows, copy winpthreads dll alongside executables and make it easier to run tests with wine. Also added a windows+msys2 and linux LTO target |
cd1cb49
to
3590531
Compare
MSYSTEM is basically the same as WIN32, so you may be able to simplify the Makefile by just setting CONFIG_WIN32 in this case and setting avoiding setting CROSS_PREFIX. |
4238645
to
341d43c
Compare
Thanks for the suggestion, that worked pretty well. Updated the PR. |
975502b
to
341d43c
Compare
I see the multi-arch CI step failing intermittently with a segfault in gcc. It's not a quickjs issue: tonistiigi/binfmt#215 EDIT: this should fix the flakiness tonistiigi/binfmt#215 (comment), also added PPC64LE, previously that arch seemed to lead to segfaults in gcc almost every time ![]() |
341d43c
to
4ab34d2
Compare
4ab34d2
to
1d0514e
Compare
* break statement with labels fixes [1] * fix buffer overflow in bjson string + bigint reader [2] * bigint fixes [3] [4] * weak map gc fix [5] * segfault on large number of properties [6] * undefined is a valid variable name in global scope [7] [1] bellard/quickjs#275 [2] bellard/quickjs#399 [3] bellard/quickjs@083b7bab01 [4] bellard/quickjs@fa706d5622 [5] bellard/quickjs#393 [6] bellard/quickjs#111 [7] bellard/quickjs#370
* break statement with labels fixes [1] * fix buffer overflow in bjson string + bigint reader [2] * bigint fixes [3] [4] * weak map gc fix [5] * segfault on large number of properties [6] * undefined is a valid variable name in global scope [7] [1] bellard/quickjs#275 [2] bellard/quickjs#399 [3] bellard/quickjs@083b7bab01 [4] bellard/quickjs@fa706d5622 [5] bellard/quickjs#393 [6] bellard/quickjs#111 [7] bellard/quickjs#370
1d0514e
to
06664db
Compare
06664db
to
e2eddb7
Compare
Rebased on the latest master. Tests pass. I think it's ready for another look. Wonder if it makes sense to add a tests262 CI stage as well? Maybe as a separate PR |
One more detail: you can now enable test_worker.js when CONFIG_WIN32=y. |
Atomics support in Windows requires libwinpthread*.dll at runtime. One way to get it is to install it with MinGW package, and copy alongside the executable. Update test Makefile targets for windows executables. Allow running tests with Wine: `make WINE=wine CONFIG_WIN3=y ...`. That's useful when Wine binfmt support cannot be installed such as on the CI hosts. Add PPC64LE architecture and try to fix flaky multi-arch CI in gcc: tonistiigi/binfmt#215
e2eddb7
to
c0958ee
Compare
Updated, test_worker.js passes with wine and on windows. |
Atomics support in Windows requires
libwinpthread*.dll
at runtime. One way to get it is to install it with MinGW package, and copy alongside the executable.Update test Makefile targets for windows executables.
Allow running tests with Wine:
make WINE=wine CONFIG_WIN3=y...
. That's useful when Wine binfmt support cannot be installed such as on the CI hosts.Add PPC64LE architecture and try to fix flaky multi-arch CI in gcc: tonistiigi/binfmt#215
Fix issue: #390