From 1024aa9252ff02ebc03511a2c0311957511d0be9 Mon Sep 17 00:00:00 2001 From: Yann Collet Date: Fri, 11 Oct 2024 16:24:25 -0700 Subject: [PATCH 1/3] attempt to make 32-bit tests faster this is the longest CI test, reaching ~40mn on last PR --- .github/workflows/dev-long-tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dev-long-tests.yml b/.github/workflows/dev-long-tests.yml index d9f0743696..3c2d1183ba 100644 --- a/.github/workflows/dev-long-tests.yml +++ b/.github/workflows/dev-long-tests.yml @@ -50,7 +50,7 @@ jobs: run: | sudo apt-get -qqq update make libc6install - CFLAGS="-m32" make test + CFLAGS="-m32 -O1" make test V=1 no-intrinsics-fuzztest: runs-on: ubuntu-latest From 6f2e29a234c9f9ca63f1dd2748933a03f03ac731 Mon Sep 17 00:00:00 2001 From: Yann Collet Date: Fri, 11 Oct 2024 17:30:55 -0700 Subject: [PATCH 2/3] measure if -O2 makes the test complete faster --- .github/workflows/dev-long-tests.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dev-long-tests.yml b/.github/workflows/dev-long-tests.yml index 3c2d1183ba..e4564c1d87 100644 --- a/.github/workflows/dev-long-tests.yml +++ b/.github/workflows/dev-long-tests.yml @@ -46,11 +46,11 @@ jobs: READFROMBLOCKDEVICE: 1 steps: - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # tag=v4.1.1 - - name: make test + - name: make test # note: make -j test seems to break when associated with `-m32` run: | sudo apt-get -qqq update make libc6install - CFLAGS="-m32 -O1" make test V=1 + CFLAGS="-m32 -O2" make test V=1 no-intrinsics-fuzztest: runs-on: ubuntu-latest From e6740355e35fa5695cb606e7bbda41b595175b3a Mon Sep 17 00:00:00 2001 From: Yann Collet Date: Fri, 11 Oct 2024 18:01:28 -0700 Subject: [PATCH 3/3] attempt parallel test running with -j --- .github/workflows/dev-long-tests.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dev-long-tests.yml b/.github/workflows/dev-long-tests.yml index e4564c1d87..deb5242b01 100644 --- a/.github/workflows/dev-long-tests.yml +++ b/.github/workflows/dev-long-tests.yml @@ -46,11 +46,12 @@ jobs: READFROMBLOCKDEVICE: 1 steps: - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # tag=v4.1.1 - - name: make test # note: make -j test seems to break when associated with `-m32` + - name: make test # note: `make -j test success` seems to require a clean state run: | sudo apt-get -qqq update make libc6install - CFLAGS="-m32 -O2" make test V=1 + make clean + CFLAGS="-m32 -O2" make -j test V=1 no-intrinsics-fuzztest: runs-on: ubuntu-latest