|
81 | 81 | run: ctest -E "test-unit-sve_128|test-unit-sve_256" --rerun-failed --output-on-failure |
82 | 82 | working-directory: build_rel |
83 | 83 |
|
| 84 | + build-ubuntu-arm64-clang-asan: |
| 85 | + name: Ubuntu arm64 Clang (ASAN) |
| 86 | + runs-on: ubuntu-24.04-arm |
| 87 | + steps: |
| 88 | + - name: Git checkout |
| 89 | + uses: actions/checkout@v6 |
| 90 | + with: |
| 91 | + submodules: 'true' |
| 92 | + |
| 93 | + - name: Update apt packages |
| 94 | + run: sudo apt-get update |
| 95 | + |
| 96 | + - name: Install ImageMagick |
| 97 | + run: sudo apt-get install imagemagick |
| 98 | + |
| 99 | + - name: Build release |
| 100 | + run: | |
| 101 | + export CXX=clang++ |
| 102 | + mkdir build_rel |
| 103 | + cd build_rel |
| 104 | + cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX=../ -DASTCENC_UNITTEST=ON -DASTCENC_ISA_NEON=ON -DASTCENC_ISA_SVE_128=ON -DASTCENC_ISA_SVE_256=ON -DASTCENC_ISA_NONE=ON -DASTCENC_PACKAGE=arm64 -DASTCENC_ASAN=ON .. |
| 105 | + make install package -j4 |
| 106 | +
|
| 107 | + - name: Setup Python |
| 108 | + uses: actions/setup-python@v6 |
| 109 | + with: |
| 110 | + python-version: '3.12' |
| 111 | + |
| 112 | + - name: Get Python modules |
| 113 | + run: | |
| 114 | + python -m pip install --upgrade pip |
| 115 | + pip install numpy Pillow |
| 116 | +
|
| 117 | + - name: Run system tests |
| 118 | + # Disable SVE for now |
| 119 | + run: | |
| 120 | + python ./Test/astc_test_functional.py --encoder none |
| 121 | + python ./Test/astc_test_functional.py --encoder neon |
| 122 | + python ./Test/astc_test_image.py --encoder none --test-set Small |
| 123 | + python ./Test/astc_test_image.py --encoder neon --test-set Small |
| 124 | +
|
| 125 | + - name: Run unit tests |
| 126 | + # Disable SVE for now |
| 127 | + run: ctest -E "test-unit-sve_128|test-unit-sve_256" --rerun-failed --output-on-failure |
| 128 | + working-directory: build_rel |
| 129 | + |
| 130 | + build-ubuntu-arm64-clang-ubasn: |
| 131 | + name: Ubuntu arm64 Clang (UBSAN) |
| 132 | + runs-on: ubuntu-24.04-arm |
| 133 | + steps: |
| 134 | + - name: Git checkout |
| 135 | + uses: actions/checkout@v6 |
| 136 | + with: |
| 137 | + submodules: 'true' |
| 138 | + |
| 139 | + - name: Update apt packages |
| 140 | + run: sudo apt-get update |
| 141 | + |
| 142 | + - name: Install ImageMagick |
| 143 | + run: sudo apt-get install imagemagick |
| 144 | + |
| 145 | + - name: Build release |
| 146 | + run: | |
| 147 | + export CXX=clang++ |
| 148 | + mkdir build_rel |
| 149 | + cd build_rel |
| 150 | + cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX=../ -DASTCENC_UNITTEST=ON -DASTCENC_ISA_NEON=ON -DASTCENC_ISA_SVE_128=ON -DASTCENC_ISA_SVE_256=ON -DASTCENC_ISA_NONE=ON -DASTCENC_PACKAGE=arm64 -DASTCENC_UBSAN=ON .. |
| 151 | + make install package -j4 |
| 152 | +
|
| 153 | + - name: Setup Python |
| 154 | + uses: actions/setup-python@v6 |
| 155 | + with: |
| 156 | + python-version: '3.12' |
| 157 | + |
| 158 | + - name: Get Python modules |
| 159 | + run: | |
| 160 | + python -m pip install --upgrade pip |
| 161 | + pip install numpy Pillow |
| 162 | +
|
| 163 | + - name: Run system tests |
| 164 | + # Disable SVE for now |
| 165 | + run: | |
| 166 | + python ./Test/astc_test_functional.py --encoder none |
| 167 | + python ./Test/astc_test_functional.py --encoder neon |
| 168 | + python ./Test/astc_test_image.py --encoder none --test-set Small |
| 169 | + python ./Test/astc_test_image.py --encoder neon --test-set Small |
| 170 | +
|
| 171 | + - name: Run unit tests |
| 172 | + # Disable SVE for now |
| 173 | + run: ctest -E "test-unit-sve_128|test-unit-sve_256" --rerun-failed --output-on-failure |
| 174 | + working-directory: build_rel |
| 175 | + |
84 | 176 | build-ubuntu-arm64-gcc: |
85 | 177 | name: Ubuntu arm64 GCC |
86 | 178 | runs-on: ubuntu-24.04-arm |
|
0 commit comments