Don't automatically update test262 submodule

This commit is contained in:
Richard Davison 2024-11-08 15:02:48 +01:00 committed by GitHub
parent 04307af779
commit cd2947bded
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 12 additions and 0 deletions

View file

@ -157,6 +157,7 @@ jobs:
- name: test 262 - name: test 262
if: ${{ matrix.config.runTest262 }} if: ${{ matrix.config.runTest262 }}
run: | run: |
git submodule update --init --checkout --depth 1
time make test262 time make test262
linux-gcc48: linux-gcc48:
@ -259,6 +260,7 @@ jobs:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: build - name: build
run: | run: |
git submodule update --init --checkout --depth 1
cmake -B build -DBUILD_EXAMPLES=ON -G "Visual Studio 17 2022" -T ClangCL cmake -B build -DBUILD_EXAMPLES=ON -G "Visual Studio 17 2022" -T ClangCL
cmake --build build --config ${{matrix.buildType}} cmake --build build --config ${{matrix.buildType}}
- name: stats - name: stats
@ -291,6 +293,7 @@ jobs:
ninja.exe --version ninja.exe --version
- name: build - name: build
run: | run: |
git submodule update --init --checkout --depth 1
cmake -B build -DBUILD_EXAMPLES=ON -DCMAKE_BUILD_TYPE=${{matrix.buildType}} -G "Ninja" cmake -B build -DBUILD_EXAMPLES=ON -DCMAKE_BUILD_TYPE=${{matrix.buildType}} -G "Ninja"
cmake --build build cmake --build build
- name: stats - name: stats

View file

@ -17,6 +17,7 @@ jobs:
- name: build - name: build
shell: alpine.sh {0} shell: alpine.sh {0}
run: | run: |
git submodule update --init --checkout --depth 1
mkdir build mkdir build
cd build cd build
cmake -DBUILD_STATIC_QJS_EXE=ON .. cmake -DBUILD_STATIC_QJS_EXE=ON ..
@ -45,6 +46,7 @@ jobs:
- name: build - name: build
shell: alpine.sh {0} shell: alpine.sh {0}
run: | run: |
git submodule update --init --checkout --depth 1
mkdir build mkdir build
cd build cd build
cmake -DBUILD_STATIC_QJS_EXE=ON .. cmake -DBUILD_STATIC_QJS_EXE=ON ..
@ -73,6 +75,7 @@ jobs:
- name: build - name: build
shell: alpine.sh {0} shell: alpine.sh {0}
run: | run: |
git submodule update --init --checkout --depth 1
mkdir build mkdir build
cd build cd build
cmake -DBUILD_STATIC_QJS_EXE=ON .. cmake -DBUILD_STATIC_QJS_EXE=ON ..
@ -102,6 +105,7 @@ jobs:
- name: build - name: build
shell: alpine.sh {0} shell: alpine.sh {0}
run: | run: |
git submodule update --init --checkout --depth 1
mkdir build mkdir build
cd build cd build
cmake -DBUILD_STATIC_QJS_EXE=ON .. cmake -DBUILD_STATIC_QJS_EXE=ON ..
@ -126,6 +130,7 @@ jobs:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: build - name: build
run: | run: |
git submodule update --init --checkout --depth 1
mkdir build mkdir build
cd build cd build
cmake -DCMAKE_OSX_ARCHITECTURES="x86_64;arm64" .. cmake -DCMAKE_OSX_ARCHITECTURES="x86_64;arm64" ..
@ -161,6 +166,7 @@ jobs:
toolchain:p toolchain:p
- name: build - name: build
run: | run: |
git submodule update --init --checkout --depth 1
make make
mv build/qjs.exe build/qjs-windows-x86.exe mv build/qjs.exe build/qjs-windows-x86.exe
mv build/qjsc.exe build/qjsc-windows-x86.exe mv build/qjsc.exe build/qjsc-windows-x86.exe
@ -193,6 +199,7 @@ jobs:
toolchain:p toolchain:p
- name: build - name: build
run: | run: |
git submodule update --init --checkout --depth 1
make make
mv build/qjs.exe build/qjs-windows-x86_64.exe mv build/qjs.exe build/qjs-windows-x86_64.exe
mv build/qjsc.exe build/qjsc-windows-x86_64.exe mv build/qjsc.exe build/qjsc-windows-x86_64.exe
@ -215,6 +222,7 @@ jobs:
sudo apt install /tmp/wasi-sdk*.deb sudo apt install /tmp/wasi-sdk*.deb
- name: build - name: build
run: | run: |
git submodule update --init --checkout --depth 1
cmake -B build -DCMAKE_TOOLCHAIN_FILE=/opt/wasi-sdk/share/cmake/wasi-sdk.cmake cmake -B build -DCMAKE_TOOLCHAIN_FILE=/opt/wasi-sdk/share/cmake/wasi-sdk.cmake
make -C build qjs_exe make -C build qjs_exe
mv build/qjs build/qjs-wasi.wasm mv build/qjs build/qjs-wasi.wasm

1
.gitmodules vendored
View file

@ -2,3 +2,4 @@
path = test262 path = test262
url = https://github.com/tc39/test262 url = https://github.com/tc39/test262
shallow = true shallow = true
update = none