diff --git a/.github/workflows/t-bytecode-compare.yml b/.github/workflows/t-bytecode-compare.yml index 37c2f86b1..1b9a84fb2 100644 --- a/.github/workflows/t-bytecode-compare.yml +++ b/.github/workflows/t-bytecode-compare.yml @@ -18,6 +18,9 @@ jobs: - platform: linux-amd64 os: ubuntu-latest + - platform: linux-arm64 + os: ubuntu-24.04-arm + - platform: macosx-amd64 os: macos-latest diff --git a/linux-arm64/.gitkeep b/linux-arm64/.gitkeep new file mode 100644 index 000000000..e69de29bb diff --git a/update.mjs b/update.mjs index 9a3b97be9..8f9ac1af5 100755 --- a/update.mjs +++ b/update.mjs @@ -169,6 +169,7 @@ function processDir (dir, options, listCallback) { '/emscripten-wasm32': ['.js'], '/windows-amd64': ['.zip', '.exe'], '/linux-amd64': [''], + '/linux-arm64': [''], '/macosx-amd64': [''] }[dir] || '' @@ -273,7 +274,7 @@ function processDir (dir, options, listCallback) { }) // Update 'latest' symlink (except for wasm/ where the link is hard-coded to point at the one in bin/). - if (dir !== '/wasm') { + if (dir !== '/wasm' && latestReleaseFile) { const releaseExtension = binaryExtensions.find(function (extension) { return latestReleaseFile.endsWith(extension) }) binaryExtensions.forEach(function (extension) { @@ -342,6 +343,7 @@ function parseCommandLine () { const DIRS = [ '/bin', '/linux-amd64', + '/linux-arm64', '/macosx-amd64', '/windows-amd64' ]