Skip to content

Commit cd2947b

Browse files
authored
Don't automatically update test262 submodule
1 parent 04307af commit cd2947b

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ jobs:
157157
- name: test 262
158158
if: ${{ matrix.config.runTest262 }}
159159
run: |
160+
git submodule update --init --checkout --depth 1
160161
time make test262
161162
162163
linux-gcc48:
@@ -259,6 +260,7 @@ jobs:
259260
- uses: actions/checkout@v4
260261
- name: build
261262
run: |
263+
git submodule update --init --checkout --depth 1
262264
cmake -B build -DBUILD_EXAMPLES=ON -G "Visual Studio 17 2022" -T ClangCL
263265
cmake --build build --config ${{matrix.buildType}}
264266
- name: stats
@@ -291,6 +293,7 @@ jobs:
291293
ninja.exe --version
292294
- name: build
293295
run: |
296+
git submodule update --init --checkout --depth 1
294297
cmake -B build -DBUILD_EXAMPLES=ON -DCMAKE_BUILD_TYPE=${{matrix.buildType}} -G "Ninja"
295298
cmake --build build
296299
- name: stats

.github/workflows/release.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ jobs:
1717
- name: build
1818
shell: alpine.sh {0}
1919
run: |
20+
git submodule update --init --checkout --depth 1
2021
mkdir build
2122
cd build
2223
cmake -DBUILD_STATIC_QJS_EXE=ON ..
@@ -45,6 +46,7 @@ jobs:
4546
- name: build
4647
shell: alpine.sh {0}
4748
run: |
49+
git submodule update --init --checkout --depth 1
4850
mkdir build
4951
cd build
5052
cmake -DBUILD_STATIC_QJS_EXE=ON ..
@@ -73,6 +75,7 @@ jobs:
7375
- name: build
7476
shell: alpine.sh {0}
7577
run: |
78+
git submodule update --init --checkout --depth 1
7679
mkdir build
7780
cd build
7881
cmake -DBUILD_STATIC_QJS_EXE=ON ..
@@ -102,6 +105,7 @@ jobs:
102105
- name: build
103106
shell: alpine.sh {0}
104107
run: |
108+
git submodule update --init --checkout --depth 1
105109
mkdir build
106110
cd build
107111
cmake -DBUILD_STATIC_QJS_EXE=ON ..
@@ -126,6 +130,7 @@ jobs:
126130
- uses: actions/checkout@v4
127131
- name: build
128132
run: |
133+
git submodule update --init --checkout --depth 1
129134
mkdir build
130135
cd build
131136
cmake -DCMAKE_OSX_ARCHITECTURES="x86_64;arm64" ..
@@ -161,6 +166,7 @@ jobs:
161166
toolchain:p
162167
- name: build
163168
run: |
169+
git submodule update --init --checkout --depth 1
164170
make
165171
mv build/qjs.exe build/qjs-windows-x86.exe
166172
mv build/qjsc.exe build/qjsc-windows-x86.exe
@@ -193,6 +199,7 @@ jobs:
193199
toolchain:p
194200
- name: build
195201
run: |
202+
git submodule update --init --checkout --depth 1
196203
make
197204
mv build/qjs.exe build/qjs-windows-x86_64.exe
198205
mv build/qjsc.exe build/qjsc-windows-x86_64.exe
@@ -215,6 +222,7 @@ jobs:
215222
sudo apt install /tmp/wasi-sdk*.deb
216223
- name: build
217224
run: |
225+
git submodule update --init --checkout --depth 1
218226
cmake -B build -DCMAKE_TOOLCHAIN_FILE=/opt/wasi-sdk/share/cmake/wasi-sdk.cmake
219227
make -C build qjs_exe
220228
mv build/qjs build/qjs-wasi.wasm

.gitmodules

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
path = test262
33
url = https://github.com/tc39/test262
44
shallow = true
5+
update = none

0 commit comments

Comments
 (0)