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

ci: upload artifacts #596

Merged
merged 1 commit into from
Sep 19, 2024
Merged

ci: upload artifacts #596

merged 1 commit into from
Sep 19, 2024

Conversation

ahaoboy
Copy link
Contributor

@ahaoboy ahaoboy commented Sep 18, 2024

Description of changes

For the convenience of testing, upload the artifacts

@ahaoboy
Copy link
Contributor Author

ahaoboy commented Sep 18, 2024

https://github.com/awslabs/llrt/actions/runs/10925799624/job/30328199206

failures:

---- modules::net::socket::tests::test_server_echo stdout ----
thread 'modules::net::socket::tests::test_server_echo' panicked at llrt_modules\src\modules\net\socket.rs:430:70:
called `Result::unwrap()` on an `Err` value: Os { code: 10013, kind: PermissionDenied, message: "An attempt was made to access a socket in a way forbidden by its access permissions." }
stack backtrace:
   0: rust_begin_unwind
   1: core::panicking::panic_fmt
   2: core::result::unwrap_failed
   3: <tokio::future::maybe_done::MaybeDone<Fut> as core::future::future::Future>::poll
   4: <tokio::future::poll_fn::PollFn<F> as core::future::future::Future>::poll
   5: llrt_modules::modules::net::socket::tests::test_server_echo::{{closure}}::{{closure}}::{{closure}}
   6: llrt_modules::test::test_async_with::{{closure}}::{{closure}}::{{closure}}
   7: <rquickjs_core::context::async::future::WithFuture<F,R> as core::future::future::Future>::poll
   8: llrt_modules::modules::net::socket::tests::test_server_echo::{{closure}}
   9: tokio::runtime::scheduler::current_thread::Context::enter
  10: tokio::runtime::context::scoped::Scoped<T>::set
  11: tokio::runtime::scheduler::current_thread::CoreGuard::block_on
  12: tokio::runtime::context::runtime::enter_runtime
  13: tokio::runtime::runtime::Runtime::block_on
  14: llrt_modules::modules::net::socket::tests::test_server_echo
  15: core::ops::function::FnOnce::call_once
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

@nabetti1720
Copy link
Contributor

Hi @ahaoboy , The error I am getting in the Build Windows binaries section is caused by my previous PR. Specifically, when I refactored the makefile, I made an error in specifying the target file name for the zip.

Can you please correct this in this PR?

zip -j llrt-windows-x64.zip target/x86_64-pc-windows-gnu/release/llrt/release/llrt.exe
	zip warning: name not matched: target/x86_64-pc-windows-gnu/release/llrt/release/llrt.exe

zip error: Nothing to do! (llrt-windows-x64.zip)
make: *** [Makefile:101: llrt-windows-x64.zip] Error 12

llrt/Makefile

Line 96 in 62b60c9

zip -j $$@ target/$$(TARGET_windows_$$(RELEASE_ARCH_NAME_${1}))/release/llrt/release/llrt.exe

The correct information is as follows.

// makefile
zip -j $$@ target/$$(TARGET_windows_$$(RELEASE_ARCH_NAME_${1}))/release/llrt.exe

@ahaoboy
Copy link
Contributor Author

ahaoboy commented Sep 19, 2024

The correct information is as follows.

// makefile
zip -j $$@ target/$$(TARGET_windows_$$(RELEASE_ARCH_NAME_${1}))/release/llrt.exe

Thanks for your help

@ahaoboy
Copy link
Contributor Author

ahaoboy commented Sep 19, 2024

https://github.com/ahaoboy/llrt/actions/runs/10937408801

I've tried using the msvc toolchain on the Windows platform and it seems to work too, though it's a little bit larger and there may be a timing inconsistency issue that I hesitate to add to ci

@richarddavison
Copy link
Contributor

Thanks LGTM!

@richarddavison richarddavison merged commit 70c37b4 into awslabs:main Sep 19, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants