Pin Ubuntu CI images to 20.04 (#315)

GitHub recently upgraded the ubuntu-latest images and I suspect that is
the cause of the linux-asan and linux-msan failures. Pin to the old LTS
for now.

Fixes: https://github.com/quickjs-ng/quickjs/issues/314
This commit is contained in:
Ben Noordhuis 2024-03-15 10:49:33 +01:00 committed by GitHub
parent 45f8dc247c
commit 5d2202cad0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 19 additions and 31 deletions

View file

@ -16,7 +16,7 @@ on:
jobs: jobs:
codegen: codegen:
runs-on: ubuntu-latest runs-on: ubuntu-20.04
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: build - name: build
@ -25,7 +25,7 @@ jobs:
- name: Check if the git repository is clean - name: Check if the git repository is clean
run: $(exit $(git status --porcelain --untracked-files=no | head -255 | wc -l)) || (echo "Dirty git tree"; git diff; exit 1) run: $(exit $(git status --porcelain --untracked-files=no | head -255 | wc -l)) || (echo "Dirty git tree"; git diff; exit 1)
linux: linux:
runs-on: ubuntu-latest runs-on: ubuntu-20.04
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
@ -52,7 +52,7 @@ jobs:
run: | run: |
./v8.sh ./v8.sh
linux-32bits: linux-32bits:
runs-on: ubuntu-latest runs-on: ubuntu-20.04
defaults: defaults:
run: run:
shell: alpine.sh {0} shell: alpine.sh {0}
@ -72,7 +72,7 @@ jobs:
run: | run: |
make test make test
linux-s390x: linux-s390x:
runs-on: ubuntu-latest runs-on: ubuntu-20.04
defaults: defaults:
run: run:
shell: alpine.sh {0} shell: alpine.sh {0}
@ -92,7 +92,7 @@ jobs:
run: | run: |
make test make test
linux-gcc48: linux-gcc48:
runs-on: ubuntu-latest runs-on: ubuntu-20.04
container: container:
image: ubuntu:14.04 image: ubuntu:14.04
steps: steps:
@ -122,7 +122,7 @@ jobs:
run: | run: |
time make test262 time make test262
linux-examples: linux-examples:
runs-on: ubuntu-latest runs-on: ubuntu-20.04
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: build - name: build
@ -144,7 +144,7 @@ jobs:
./build/qjs tests/test_bjson.js ./build/qjs tests/test_bjson.js
./build/function_source ./build/function_source
linux-shared: linux-shared:
runs-on: ubuntu-latest runs-on: ubuntu-20.04
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: build - name: build
@ -155,7 +155,7 @@ jobs:
run: | run: |
make stats make stats
linux-asan: linux-asan:
runs-on: ubuntu-latest runs-on: ubuntu-20.04
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
with: with:
@ -174,7 +174,7 @@ jobs:
run: | run: |
time make test262 time make test262
linux-msan: linux-msan:
runs-on: ubuntu-latest runs-on: ubuntu-20.04
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
with: with:
@ -190,7 +190,7 @@ jobs:
run: | run: |
make test make test
linux-ubsan: linux-ubsan:
runs-on: ubuntu-latest runs-on: ubuntu-20.04
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
with: with:
@ -209,7 +209,7 @@ jobs:
run: | run: |
time make test262 time make test262
linux-tcc: linux-tcc:
runs-on: ubuntu-latest runs-on: ubuntu-20.04
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
with: with:
@ -428,7 +428,7 @@ jobs:
make stats make stats
emscripten: emscripten:
runs-on: ubuntu-latest runs-on: ubuntu-20.04
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: mymindstorm/setup-emsdk@v13 - uses: mymindstorm/setup-emsdk@v13
@ -441,7 +441,7 @@ jobs:
- name: result - name: result
run: ls -lh build run: ls -lh build
wasi: wasi:
runs-on: ubuntu-latest runs-on: ubuntu-20.04
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: jcbhmr/setup-wasmtime@v2 - uses: jcbhmr/setup-wasmtime@v2
@ -526,7 +526,7 @@ jobs:
gmake test gmake test
android: android:
runs-on: ubuntu-latest runs-on: ubuntu-20.04
container: reactnativecommunity/react-native-android:v13.0 container: reactnativecommunity/react-native-android:v13.0
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4

View file

@ -7,7 +7,7 @@ on:
jobs: jobs:
linux-x86: linux-x86:
runs-on: ubuntu-latest runs-on: ubuntu-20.04
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: jirutka/setup-alpine@v1 - uses: jirutka/setup-alpine@v1
@ -36,7 +36,7 @@ jobs:
path: build/*-linux-x86 path: build/*-linux-x86
linux-x86_64: linux-x86_64:
runs-on: ubuntu-latest runs-on: ubuntu-20.04
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: jirutka/setup-alpine@v1 - uses: jirutka/setup-alpine@v1
@ -150,7 +150,7 @@ jobs:
path: build/*-windows-x86_64.exe path: build/*-windows-x86_64.exe
wasi: wasi:
runs-on: ubuntu-latest runs-on: ubuntu-20.04
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: setup wasi-sdk - name: setup wasi-sdk
@ -170,7 +170,7 @@ jobs:
upload-to-release: upload-to-release:
needs: [linux-x86, linux-x86_64, macos, windows-x86, windows-x86_64, wasi] needs: [linux-x86, linux-x86_64, macos, windows-x86, windows-x86_64, wasi]
runs-on: ubuntu-latest runs-on: ubuntu-20.04
steps: steps:
- name: get assets - name: get assets
uses: actions/download-artifact@v3 uses: actions/download-artifact@v3

1
v8.js
View file

@ -9,6 +9,7 @@ const exclude = [
"arguments-indirect.js", // implementation-defined "arguments-indirect.js", // implementation-defined
"array-concat.js", // slow "array-concat.js", // slow
"array-isarray.js", // unstable output due to stack overflow "array-isarray.js", // unstable output due to stack overflow
"array-join.js", // unstable output due to stack overflow
"ascii-regexp-subject.js", // slow "ascii-regexp-subject.js", // slow
"asm-directive.js", // v8 specific "asm-directive.js", // v8 specific
"disallow-codegen-from-strings.js", // --disallow-code-generation-from-strings "disallow-codegen-from-strings.js", // --disallow-code-generation-from-strings

13
v8.txt
View file

@ -23,19 +23,6 @@
=== array-join-element-tostring-prototype-side-effects.js === array-join-element-tostring-prototype-side-effects.js
=== array-join-nesting.js === array-join-nesting.js
=== array-join-nonarray-length-getter-side-effects.js === array-join-nonarray-length-getter-side-effects.js
=== array-join.js
RangeError: Maximum call stack size exceeded
at join (native)
at toString (native)
at join (native)
at toString (native)
at join (native)
at toString (native)
at join (native)
at toString (native)
at join (native)
at toString (native)
=== array-lastindexof.js === array-lastindexof.js
=== array-length-number-conversion.js === array-length-number-conversion.js
=== array-length.js === array-length.js