150: Support more cpu architectures#184
Conversation
| fi | ||
|
|
||
| if [[ "$PACKAGERUNTIME" == "linux-arm64" ]]; then | ||
| acquireExternalTool "$NODE_URL/v${NODE12_VERSION}/node-v${NODE12_VERSION}-linux-armv64.tar.gz" node12 fix_nested_dir |
There was a problem hiding this comment.
also need to build node.js for alpine ARM i think.
There was a problem hiding this comment.
👍 Agree, its in progress
Fix arm64 node externals url
| strategy: | ||
| matrix: | ||
| os: [ubuntu-latest, windows-latest, macOS-latest] | ||
| runtime: [ linux-x64, linux-arm64, linux-arm, win-x64, win-x86, osx-x64, rhel.6-x64 ] |
There was a problem hiding this comment.
hope we can kill redhat 6 for now. :D it make the runner download page looks odd...
win x64/x86
linux x64/arm32/arm64
mac x64
redhat6....
There was a problem hiding this comment.
Dropped rhel from the build, still need to clean up some spots where rhel.6 is referenced
There was a problem hiding this comment.
RedHat 6 is just its own beast, haha!
|
@dakale you mind want to take the C# file change i made in my branch which fix a bug for ARM64 runner. |
|
Note: Need to update docs per #162 |
Dont release x86 until we have an e2e test machine
win-x86 temporarily commented out of build/release. We can set this up later since arm is higher priority |
|
Yes, we are starting with ARM |
Conflicts: releaseNote.md src/runnerversion
|
Really great work 🥇 , there are a few other notes we should add in the release notes |
| esac | ||
| fi | ||
|
|
||
| if [ -e /etc/redhat-release ]; then |
There was a problem hiding this comment.
we can drop this as its redhat 6 related correct?
There was a problem hiding this comment.
Yea.. theres several things that need to be cleaned up. Balancing being lazy/trying to keep this pr simple, but I think it makes sense to just go ahead and clean out the rhel6 stuff
There was a problem hiding this comment.
Agreed, we should wait re-adding Red Hat 6 support until there's significant customer demand. Red Hat 6 is considerably harder to give technical support than the other runners due to dependencies being very out of date, which result in a more complex and error-prone setup experience.
There was a problem hiding this comment.
We will likely never need a redhat drop since go / node will just work for the linux distro
| # Upload agent package zip as build artifact | ||
| - task: PublishBuildArtifacts@1 | ||
| displayName: Publish Artifact (Linux) | ||
| displayName: Publish Artifact (Linux) |
There was a problem hiding this comment.
Publish Artifact (Linux-arm64)
Might be a little clearer
|
|
||
| # Upload agent package zip as build artifact | ||
| - task: PublishBuildArtifacts@1 | ||
| displayName: Publish Artifact (Linux) |
There was a problem hiding this comment.
Publish Artifact (Linux-arm) may be a little clearer
thboop
left a comment
There was a problem hiding this comment.
Minor thoughts on code cleanup but it looks good
|
It's a bit awkward to update the release notes announcing the availability of ARM when the feature work for ARM isn't done. Still needs UX and setup-* action reaction work. I think it will just lead to a bunch of questions (if and when open sourced) instead of being helpful. |
|
@cdb is working on the 'add runner' modal UX now. Not sure about the setup-* work to make them all work. |
We can update the release notes to indicate ARM and ARM64 are not production ready or alpha or simply just remove the download information, it should address a majority of the confusion. |
* Cross compile for win-x86, linux-arm, linux-arm64 * Build with actions instead * Remove win-x86 * Preserve CURRENT_PLATFORM in dev.sh * build.yaml * Fix formatting. Remove piplines * Use 4 space indent consistently * x32 -> x86 * TEMP: Only test when platform === target runtime Fix arm64 node externals url * win-x86 externals * Temporarily bench rhel * Add RHEL6, skip L0 on arm for now * Add stub for downloading new node externals when they are ready * Remove RHEL6 * Package based on new runtime names * Remove unused rhel from matrix includes * Update release, add packages * RID typo * Cant cross test arm on x64 hosts * New arch is a feature Dont release x86 until we have an e2e test machine * Fix version * Get version from file to avoid exec error during package on x64 host for arm package * Update Release Notes for 2.161.0 (actions#195) * More cleanup * Update release notes
For: https://github.com/github/pe-actions-runtime/issues/150
Adds a
win-x86, linux-arm, and linux-arm64 buildAlpine-based node external is currently not built for arm or arm64