summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-x.github/workflows/ci.generate.ts53
-rw-r--r--.github/workflows/ci.yml39
2 files changed, 56 insertions, 36 deletions
diff --git a/.github/workflows/ci.generate.ts b/.github/workflows/ci.generate.ts
index d97413ce7..e47435b7e 100755
--- a/.github/workflows/ci.generate.ts
+++ b/.github/workflows/ci.generate.ts
@@ -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",
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 8c8d469d0..63a87d059 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -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