]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
GHA: revert some build test steps added by #14772
authorViktor Szakats <commit@vsz.me>
Sat, 21 Sep 2024 14:01:44 +0000 (16:01 +0200)
committerViktor Szakats <commit@vsz.me>
Sun, 22 Sep 2024 09:22:36 +0000 (11:22 +0200)
They are still slow in these jobs/combinations.

- non-native/FreeBSD/arm64 autotools +36s
- non-native/FreeBSD/arm64 cmake +1m
- windows/linux-cross-mingw-w64 autotools +33s

These ones remain:
- linux/aws-lc cmake +6s
- windows/linux-cross-mingw-w64 cmake +12s

Follow-up to 71cf0d1fca9e1f53524e1545ef0c08d174458d80 #14772

.github/workflows/non-native.yml
.github/workflows/windows.yml

index 1efe5028094037749b2af50e3b8ae10692d5f980..050518e3f732d2b1b00837b5345605e5791f5a53 100644 (file)
@@ -64,8 +64,8 @@ jobs:
               || { cat bld/CMakeFiles/CMake*.yaml; false; }
             cmake --build bld --config Debug --parallel 3
             bld/src/curl --disable --version
-            cmake --build bld --config Debug --parallel 3 --target testdeps
             if [ '${{ matrix.arch }}' = 'x86_64' ]; then  # Slow on emulated CPU
+              cmake --build bld --config Debug --parallel 3 --target testdeps
               export TFLAGS='-j0'  # flakies: ~389 ~392 ~TFTP and more
               cmake --build bld --config Debug --target test-ci
             fi
@@ -101,8 +101,8 @@ jobs:
               || { cat bld/CMakeFiles/CMake*.yaml; false; }
             cmake --build bld --config Debug --parallel 3
             bld/src/curl --disable --version
-            cmake --build bld --config Debug --parallel 3 --target testdeps
             if [ '${{ matrix.arch }}' = 'x86_64' ]; then  # Slow on emulated CPU
+              cmake --build bld --config Debug --parallel 3 --target testdeps
               export TFLAGS='-j8 ~3017 ~TFTP ~FTP'  # FIXME: TFTP requests executed twice? Related: `curl: (69) TFTP: Access Violation`?
               cmake --build bld --config Debug --target test-ci
             fi
@@ -144,8 +144,8 @@ jobs:
               --disable-dependency-tracking || { tail -n 1000 config.log; false; }
             make -j3 install
             src/curl --disable --version
-            make -j3 -C tests
             if [ '${{ matrix.arch }}' = 'x86_64' ]; then  # Slow on emulated CPU
+              make -j3 -C tests
               make test-ci V=1 TFLAGS='-j8 ~FTP'
             fi
             echo '::group::build examples'
@@ -174,8 +174,8 @@ jobs:
               || { cat bld/CMakeFiles/CMake*.yaml; false; }
             cmake --build bld --config Debug --parallel 3
             bld/src/curl --disable --version
-            cmake --build bld --config Debug --parallel 3 --target testdeps
             if [ '${{ matrix.arch }}' = 'x86_64' ]; then  # Slow on emulated CPU
+              cmake --build bld --config Debug --parallel 3 --target testdeps
               export TFLAGS='-j8 ~FTP'
               cmake --build bld --config Debug --target test-ci
             fi
index cf1bc44e7508db9b930ffa74cc739d344a253767..7787dc953d6638fce89bb426e4536c821f7e5b2e 100644 (file)
@@ -429,10 +429,6 @@ jobs:
         if: ${{ matrix.build == 'autotools' }}
         run: make -C bld -j5
 
-      - name: 'autotools build tests'
-        if: ${{ matrix.build == 'autotools' }}
-        run: make -C bld -j5 -C tests
-
       - name: 'autotools build examples'
         if: ${{ matrix.build == 'autotools' }}
         run: make -C bld -j5 examples