diff --git a/.github/workflows/build_test.yaml b/.github/workflows/build_test.yaml index b2d117a4..d47f5da1 100644 --- a/.github/workflows/build_test.yaml +++ b/.github/workflows/build_test.yaml @@ -81,20 +81,25 @@ jobs: - name: Install ImageMagick run: sudo apt install imagemagick + - name: Install GCC 14 + run: | + sudo apt-get update + sudo apt-get install -y gcc-14 + - name: Build release run: | - export CXX=g++ + export CXX=g++-14 mkdir build_rel cd build_rel - cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=../ -DASTCENC_UNITTEST=ON -DASTCENC_ISA_NEON=ON -DASTCENC_ISA_NONE=ON -DASTCENC_PACKAGE=arm64 .. - make install package -j4 + cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=../ -DASTCENC_UNITTEST=ON -DASTCENC_ISA_NEON=ON -DASTCENC_ISA_SVE_128=ON -DASTCENC_ISA_NONE=ON .. + make install -j4 - name: Build debug run: | - export CXX=clang++ + export CXX=g++-14 mkdir build_dbg cd build_dbg - cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DASTCENC_ISA_NEON=ON -DASTCENC_ISA_NONE=ON .. + cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DASTCENC_ISA_NEON=ON DASTCENC_ISA_SVE_128=ON -DASTCENC_ISA_NONE=ON .. make -j4 - name: Setup Python @@ -108,14 +113,18 @@ jobs: pip install numpy Pillow - name: Run system tests + # GitHub is using Cobalt-100, which has 128-bit SVE so we cannot test sve_256 here run: | python ./Test/astc_test_functional.py --encoder none python ./Test/astc_test_functional.py --encoder neon + python ./Test/astc_test_functional.py --encoder sve_128 python ./Test/astc_test_image.py --encoder none --test-set Small python ./Test/astc_test_image.py --encoder neon --test-set Small + python ./Test/astc_test_image.py --encoder sve_128 --test-set Small - name: Run unit tests - run: ctest --rerun-failed --output-on-failure + # GitHub is using Cobalt-100, which has 128-bit SVE so we cannot test sve_256 here + run: ctest -E test-unit-sve_256 --rerun-failed --output-on-failure working-directory: build_rel build-ubuntu-x64-clang: