1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-21 15:04:11 -05:00

chore: Repair arm64-linux (#22352)

This commit is contained in:
Matt Mastracci 2024-02-08 11:51:37 -07:00 committed by GitHub
parent 087ecf1532
commit d704007e5f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 56 additions and 36 deletions

View file

@ -411,15 +411,15 @@ const ci = {
job: "lint",
profile: "debug",
}, {
// ...Runners.linuxArm,
// job: "test",
// profile: "debug",
// }, {
// ...Runners.linuxArm,
// job: "test",
// profile: "release",
// use_sysroot: true,
// }, {
...Runners.linuxArm,
job: "test",
profile: "debug",
}, {
...Runners.linuxArm,
job: "test",
profile: "release",
use_sysroot: true,
}, {
...Runners.macosX86,
job: "lint",
profile: "debug",
@ -562,21 +562,25 @@ const ci = {
{
name: "Log versions",
run: [
"python --version",
"rustc --version",
"cargo --version",
"which dpkg && dpkg -l",
// Deno is installed when linting or testing.
'if [[ "${{ matrix.job }}" == "lint" ]] || [[ "${{ matrix.job }}" == "test" ]]; then',
" deno --version",
"fi",
// Node is installed for benchmarks.
'if [ "${{ matrix.job }}" == "bench" ]',
"then",
" node -v",
// Install benchmark tools.
" " + installBenchTools,
"fi",
"echo '*** Python'",
"command -v python && python --version || echo 'No python found or bad executable'",
"echo '*** Rust'",
"command -v rustc && rustc --version || echo 'No rustc found or bad executable'",
"echo '*** Cargo'",
"command -v cargo && cargo --version || echo 'No cargo found or bad executable'",
"echo '*** Deno'",
"command -v deno && deno --version || echo 'No deno found or bad executable'",
"echo '*** Node'",
"command -v node && node --version || echo 'No node found or bad executable'",
"echo '*** Installed packages'",
"command -v dpkg && dpkg -l || echo 'No dpkg found or bad executable'",
].join("\n"),
},
{
name: "Install benchmark tools",
if: "matrix.job == 'bench'",
run: [
installBenchTools,
].join("\n"),
},
{
@ -1005,6 +1009,7 @@ const ci = {
"target/release/deno-x86_64-pc-windows-msvc.zip",
"target/release/deno-x86_64-unknown-linux-gnu.zip",
"target/release/deno-x86_64-apple-darwin.zip",
"target/release/deno-aarch64-unknown-linux-gnu.zip",
"target/release/deno-aarch64-apple-darwin.zip",
"target/release/deno_src.tar.gz",
"target/release/lib.deno.d.ts",

View file

@ -111,6 +111,17 @@ jobs:
runner: ubuntu-22.04
job: lint
profile: debug
- os: linux
arch: aarch64
runner: ubicloud-standard-16-arm
job: test
profile: debug
- os: linux
arch: aarch64
runner: ubicloud-standard-16-arm
job: test
profile: release
use_sysroot: true
- os: macos
arch: x86_64
runner: macos-12
@ -321,19 +332,22 @@ jobs:
if: '!(matrix.skip) && (matrix.os == ''macos'')'
- name: Log versions
run: |-
python --version
rustc --version
cargo --version
which dpkg && dpkg -l
if [[ "${{ matrix.job }}" == "lint" ]] || [[ "${{ matrix.job }}" == "test" ]]; then
deno --version
fi
if [ "${{ matrix.job }}" == "bench" ]
then
node -v
./tools/install_prebuilt.js wrk hyperfine
fi
echo '*** Python'
command -v python && python --version || echo 'No python found or bad executable'
echo '*** Rust'
command -v rustc && rustc --version || echo 'No rustc found or bad executable'
echo '*** Cargo'
command -v cargo && cargo --version || echo 'No cargo found or bad executable'
echo '*** Deno'
command -v deno && deno --version || echo 'No deno found or bad executable'
echo '*** Node'
command -v node && node --version || echo 'No node found or bad executable'
echo '*** Installed packages'
command -v dpkg && dpkg -l || echo 'No dpkg found or bad executable'
if: '!(matrix.skip)'
- name: Install benchmark tools
if: '!(matrix.skip) && (matrix.job == ''bench'')'
run: ./tools/install_prebuilt.js wrk hyperfine
- name: Cache Cargo home
uses: actions/cache@v4
with:
@ -620,6 +634,7 @@ jobs:
target/release/deno-x86_64-pc-windows-msvc.zip
target/release/deno-x86_64-unknown-linux-gnu.zip
target/release/deno-x86_64-apple-darwin.zip
target/release/deno-aarch64-unknown-linux-gnu.zip
target/release/deno-aarch64-apple-darwin.zip
target/release/deno_src.tar.gz
target/release/lib.deno.d.ts