@@ -85,84 +85,11 @@ jobs:
8585 ./build-aux/ci_build.bash -b autotools -p test -m "gcc -m32" -n 32_bit
8686 cd ../xz_build && make distclean
8787
88- # The sandbox must be disabled because it will prevent access to
89- # the /proc/ filesystem on Linux, which is used by the sanitizer's
90- # instrumentation.
91- - name : Build with -fsanitize=address,undefined
92- if : ${{ startsWith(matrix.os, 'ubuntu') && matrix.build_system == 'autotools' }}
93- run : ./build-aux/ci_build.bash -b autotools -p build -f "-fsanitize=address,undefined -march=armv8-a" -d sandbox
94- - name : Test with -fsanitize=address,undefined
95- if : ${{ startsWith(matrix.os, 'ubuntu') && matrix.build_system == 'autotools' }}
96- run : |
97- export UBSAN_OPTIONS=print_stacktrace=1:halt_on_error=1
98- ./build-aux/ci_build.bash -b autotools -p test -f "-fsanitize=address,undefined" -d sandbox
99- cd ../xz_build && make distclean
100-
101- - name : Build with Valgrind
102- if : ${{ startsWith(matrix.os, 'ubuntu') && matrix.build_system == 'autotools' }}
103- run : ./build-aux/ci_build.bash -b autotools -p build -d shared,sandbox
104- - name : Test with Valgrind
105- if : ${{ startsWith(matrix.os, 'ubuntu') && matrix.build_system == 'autotools' }}
106- run : |
107- ./build-aux/ci_build.bash -b autotools -p test -d sandbox -w "valgrind --quiet --trace-children=yes --trace-children-skip=*/cmp,*/cp,*/diff,*/grep,*/rm,*/sed --exit-on-first-error=yes --error-exitcode=1"
108- cd ../xz_build && make distclean
109-
110- - name : Build with musl libc
111- if : ${{ startsWith(matrix.os, 'ubuntu') }}
112- run : ./build-aux/ci_build.bash -b ${{ matrix.build_system }} -p build -m "/usr/bin/musl-gcc"
113- - name : Test with musl libc
114- if : ${{ startsWith(matrix.os, 'ubuntu') }}
115- run : |
116- ./build-aux/ci_build.bash -b ${{ matrix.build_system }} -p test -m "/usr/bin/musl-gcc"
117- - name : Clean up musl libc run
118- if : ${{ startsWith(matrix.os, 'ubuntu') && matrix.build_system == 'autotools' }}
119- run : cd ../xz_build && make distclean
120-
12188 - name : Build with full features
122- run : ./build-aux/ci_build.bash -b ${{ matrix.build_system }} -p build
89+ run : ./build-aux/ci_build.bash -b ${{ matrix.build_system }} -p build -f "-march=armv8-a"
12390 - name : Test with full features
12491 run : ./build-aux/ci_build.bash -b ${{ matrix.build_system }} -p test -n full_features
12592
126- - name : Build without encoders
127- run : ./build-aux/ci_build.bash -b ${{ matrix.build_system }} -d encoders,shared -p build
128- - name : Test without encoders
129- run : ./build-aux/ci_build.bash -b ${{ matrix.build_system }} -d encoders,shared -p test -n no_encoders
130-
131- - name : Build without decoders
132- run : ./build-aux/ci_build.bash -b ${{ matrix.build_system }} -d decoders,shared -p build
133- - name : Test without decoders
134- run : ./build-aux/ci_build.bash -b ${{ matrix.build_system }} -d decoders,shared -p test -n no_decoders
135-
136- - name : Build without threads
137- run : ./build-aux/ci_build.bash -b ${{ matrix.build_system }} -d threads,shared -p build
138- - name : Test without threads
139- run : ./build-aux/ci_build.bash -b ${{ matrix.build_system }} -d threads,shared -p test -n no_threads
140-
141- - name : Build without BCJ filters
142- run : ./build-aux/ci_build.bash -b ${{ matrix.build_system }} -d bcj,shared,nls -p build
143- - name : Test without BCJ filters
144- run : ./build-aux/ci_build.bash -b ${{ matrix.build_system }} -d bcj,shared,nls -p test -n no_bcj
145-
146- - name : Build without Delta filters
147- run : ./build-aux/ci_build.bash -b ${{ matrix.build_system }} -d delta,shared,nls -p build
148- - name : Test without Delta filters
149- run : ./build-aux/ci_build.bash -b ${{ matrix.build_system }} -d delta,shared,nls -p test -n no_delta
150-
151- - name : Build without sha256 check
152- run : ./build-aux/ci_build.bash -b ${{ matrix.build_system }} -c crc32,crc64 -d shared,nls -p build
153- - name : Test without sha256 check
154- run : ./build-aux/ci_build.bash -b ${{ matrix.build_system }} -c crc32,crc64 -d shared,nls -p test -n no_sha256
155-
156- - name : Build without crc64 check
157- run : ./build-aux/ci_build.bash -b ${{ matrix.build_system }} -c crc32,sha256 -d shared,nls -p build
158- - name : Test without crc64 check
159- run : ./build-aux/ci_build.bash -b ${{ matrix.build_system }} -c crc32,sha256 -d shared,nls -p test -n no_crc64
160-
161- - name : Build small
162- run : ./build-aux/ci_build.bash -b ${{ matrix.build_system }} -d small -p build
163- - name : Test small
164- run : ./build-aux/ci_build.bash -b ${{ matrix.build_system }} -d small -p test -n small
165-
16693 # Attempt to upload the test logs as artifacts if any step has failed
16794 - uses : actions/upload-artifact@v4
16895 if : ${{ failure() }}
0 commit comments