Skip to content

ci: simplify and fix arm64 build #180

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

Merged
merged 2 commits into from
Jul 11, 2025
Merged

Conversation

orgads
Copy link
Contributor

@orgads orgads commented Jul 11, 2025

Description

Use Github Actions arm runner instead of cross-compiling.

  • Code changes have been tested, or there are no code changes

@orgads orgads force-pushed the ci-fix-arm branch 3 times, most recently from f8d9dc9 to 7dacb99 Compare July 11, 2025 07:41
@Jiralite Jiralite requested a review from vladfrangu July 11, 2025 08:12
@orgads orgads force-pushed the ci-fix-arm branch 2 times, most recently from 56a2e37 to 8a0bdb4 Compare July 11, 2025 09:36
@orgads
Copy link
Contributor Author

orgads commented Jul 11, 2025

Interesting. This uncovers a real compilation error for linux/arm64. Fixed now. https://github.com/discordjs/opus/pull/180/files#diff-ac8b87ab9e0dc323134a4867b97987a445405f227c7fcbefc9970ecb57272dc6

@orgads
Copy link
Contributor Author

orgads commented Jul 11, 2025

Notice this PR depends on:

The arm changes are in a separate commit. You can review it here: 8a0bdb4

@orgads
Copy link
Contributor Author

orgads commented Jul 11, 2025

All checks passed! \o/

@orgads
Copy link
Contributor Author

orgads commented Jul 11, 2025

Rebased

vladfrangu
vladfrangu previously approved these changes Jul 11, 2025
orgads added 2 commits July 11, 2025 16:17
Use Github Actions arm runner instead of cross-compiling.

Avoid built-in container feature due to
actions/runner#801
@orgads
Copy link
Contributor Author

orgads commented Jul 11, 2025

Please merge it so I can rebase libopus upgrade on top of this.

@vladfrangu vladfrangu merged commit 16f6ab0 into discordjs:main Jul 11, 2025
40 checks passed
@orgads orgads deleted the ci-fix-arm branch July 11, 2025 14:05
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.

2 participants