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: Use Node.js version 20 #1177

Merged
merged 6 commits into from Oct 16, 2023
Merged

CI: Use Node.js version 20 #1177

merged 6 commits into from Oct 16, 2023

Conversation

jmillan
Copy link
Member

@jmillan jmillan commented Oct 16, 2023

No description provided.

Copy link
Member

@ibc ibc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about the Node version in the Docker file?

Previous way to install Node is deprecated. Update to install Node
according to the docs: https://github.com/nodesource/distributions
@jmillan
Copy link
Member Author

jmillan commented Oct 16, 2023

For some reason CodeQL is complaining about not finding the C++ code..

As per the logs of the action it builds mediasoup correctly.

@ibc
Copy link
Member

ibc commented Oct 16, 2023

For some reason CodeQL is complaining about not finding the C++ code..

As per the logs of the action it builds mediasoup correctly.

I'd just ignore it. It cannot be related to this PR. We can investigate later and even remove it if whatever it complains about is not easy to fix.

@jmillan
Copy link
Member Author

jmillan commented Oct 16, 2023

I'd just ignore it. It cannot be related to this PR. We can investigate later and even remove it if whatever it complains about is not easy to fix.

As per the docs, it seems that the code needs to be compiled by the action (it seems weird to me, but..). I've just disabled the prebuilt download and giving it a try.

EDIT: Docs

@jmillan
Copy link
Member Author

jmillan commented Oct 16, 2023

As per the docs, it seems that the code needs to be compiled by the action (it seems weird to me, but..). I've just disabled the prebuilt download and giving it a try.

That fixed it.

Now trying to fix a issue (present in V3 already) about not being able to remove msys on Windows.

@jmillan jmillan merged commit bd3e5c4 into v3 Oct 16, 2023
31 of 34 checks passed
@jmillan jmillan deleted the github-ci-use-node-20 branch October 16, 2023 15:55
@ibc
Copy link
Member

ibc commented Oct 16, 2023

As per the docs, it seems that the code needs to be compiled by the action (it seems weird to me, but..). I've just disabled the prebuilt download and giving it a try.

EDIT: Docs

I've read those docs and I don't get it. What does it mean that you have disabled the prebuilt download and give it a try?

@jmillan
Copy link
Member Author

jmillan commented Oct 17, 2023

I've read those docs and I don't get it. What does it mean that you have disabled the prebuilt download and give it a try?

The docs say the code needs to be compiled. I'm not trying to answer the question 'how was it working before'.

Screenshot 2023-10-17 at 10 06 43

@ibc
Copy link
Member

ibc commented Oct 17, 2023

The docs say the code needs to be compiled.

Which code? Is this about prebuilt worker binaries or what? Also, we do obviously compile those...

@jmillan
Copy link
Member Author

jmillan commented Oct 17, 2023

Which code? Is this about prebuilt worker binaries or what? Also, we do obviously compile those...

The C++ code.... We were not compiling it within the CodeQL workflow because we were downloading the prebuilt binaries instead. Try removing the change I added in the workflow file to see the logs.

@@ -36,6 +36,9 @@ jobs:
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support

env:
MEDIASOUP_SKIP_WORKER_PREBUILT_DOWNLOAD: "true"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wow I completely missed this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants