diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7eeb0059..837de5b5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -157,6 +157,7 @@ jobs: - name: test 262 if: ${{ matrix.config.runTest262 }} run: | + git submodule update --init --checkout --depth 1 time make test262 linux-gcc48: @@ -259,6 +260,7 @@ jobs: - uses: actions/checkout@v4 - name: build run: | + git submodule update --init --checkout --depth 1 cmake -B build -DBUILD_EXAMPLES=ON -G "Visual Studio 17 2022" -T ClangCL cmake --build build --config ${{matrix.buildType}} - name: stats @@ -291,6 +293,7 @@ jobs: ninja.exe --version - name: build run: | + git submodule update --init --checkout --depth 1 cmake -B build -DBUILD_EXAMPLES=ON -DCMAKE_BUILD_TYPE=${{matrix.buildType}} -G "Ninja" cmake --build build - name: stats diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 547a4434..3f0953f1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,6 +17,7 @@ jobs: - name: build shell: alpine.sh {0} run: | + git submodule update --init --checkout --depth 1 mkdir build cd build cmake -DBUILD_STATIC_QJS_EXE=ON .. @@ -45,6 +46,7 @@ jobs: - name: build shell: alpine.sh {0} run: | + git submodule update --init --checkout --depth 1 mkdir build cd build cmake -DBUILD_STATIC_QJS_EXE=ON .. @@ -73,6 +75,7 @@ jobs: - name: build shell: alpine.sh {0} run: | + git submodule update --init --checkout --depth 1 mkdir build cd build cmake -DBUILD_STATIC_QJS_EXE=ON .. @@ -102,6 +105,7 @@ jobs: - name: build shell: alpine.sh {0} run: | + git submodule update --init --checkout --depth 1 mkdir build cd build cmake -DBUILD_STATIC_QJS_EXE=ON .. @@ -126,6 +130,7 @@ jobs: - uses: actions/checkout@v4 - name: build run: | + git submodule update --init --checkout --depth 1 mkdir build cd build cmake -DCMAKE_OSX_ARCHITECTURES="x86_64;arm64" .. @@ -161,6 +166,7 @@ jobs: toolchain:p - name: build run: | + git submodule update --init --checkout --depth 1 make mv build/qjs.exe build/qjs-windows-x86.exe mv build/qjsc.exe build/qjsc-windows-x86.exe @@ -193,6 +199,7 @@ jobs: toolchain:p - name: build run: | + git submodule update --init --checkout --depth 1 make mv build/qjs.exe build/qjs-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 - name: build run: | + git submodule update --init --checkout --depth 1 cmake -B build -DCMAKE_TOOLCHAIN_FILE=/opt/wasi-sdk/share/cmake/wasi-sdk.cmake make -C build qjs_exe mv build/qjs build/qjs-wasi.wasm diff --git a/.gitmodules b/.gitmodules index b10f021f..91828e05 100644 --- a/.gitmodules +++ b/.gitmodules @@ -2,3 +2,4 @@ path = test262 url = https://github.com/tc39/test262 shallow = true + update = none