Skip to content
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

More CI tests #30

Open
8 of 14 tasks
PeyTy opened this issue Jun 2, 2022 · 1 comment
Open
8 of 14 tasks

More CI tests #30

PeyTy opened this issue Jun 2, 2022 · 1 comment
Assignees
Labels

Comments

@PeyTy
Copy link
Member

PeyTy commented Jun 2, 2022

Progress

  • node --trace-uncaught
  • Other tests
  • CI failure on tests build failure
  • msbuild aka MSVC of win32/posix demos.
    • Must use C (not C++) with C11 standard, if possible.
    • Should also build with C++11 and C++2x (latest standard) modes (for regressions)
    • 32-bit and 64-bit
  • CI failure on msbuild failure
  • CI logs should provide Hexa compiler stdout/stderr (like [Building The Hexa Compiler]...)
  • Timeouts for builds (sometimes build may go infinite loop). For example 3 minutes should be enough for now.
  • Add Linux (64-bit) and macOS (with Xcode enabled) builds/artifacts, possibly within one action build-all
  • Merge libgen build into one action if it makes sense (separate build block within build-all for parallel)
  • Parallel execution of all build tasks
  • Action test-all which takes artifacts from build-all (if build-all succeeded) and builds tests from 2.
  1. All node.exe invocations should use --trace-uncaught as the first argument like this --trace-uncaught bootstrap.js hexa.json. Node is very conservative on error origins without that feature.
  2. More tests should be built after bootstrapping process:
test/lts/hello/hexa.json
examples/html-raytracer/hexa.json
test/normalizer/hexa.json
examples/node-platform/hexa.json
examples/native-win32/hexa.json
examples/native-posix/hexa.json + build the output (macos clang, windows msvc, linux gcc) (NO artifact needed)
  1. CI should stop on any build error. Hexa reports non-zero error code on fail, zero on success.
  2. Build examples/native-win32/win32.c (build only) with MSVC (like libgen). It is produced from examples/native-win32/hexa.json. Same for POSIX demo.
  3. CI should stop on any MSVC build error.
@PeyTy PeyTy added the #major release blocker Do before next release label Jun 2, 2022
@PeyTy
Copy link
Member Author

PeyTy commented Jun 3, 2022

@acidicMercury8 added timeouts bullet point

@PeyTy PeyTy added the #epic 😱😱😱 ASAP! label Jun 3, 2022
@acidicMercury8 acidicMercury8 mentioned this issue Jun 20, 2022
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants