1717 matrix :
1818 osversion : [ubuntu-22.04]
1919 stdlib : [libc++, stdlibc++]
20+ sanitizer : [null, 'Address', 'Thread', 'Undefined']
2021 steps :
2122 - uses : AutoModality/action-clean@v1
2223 - uses : actions/checkout@v2
@@ -33,18 +34,18 @@ jobs:
3334 id : installdeps
3435 run : |
3536 echo "${{ matrix.stdlib }}"
36- docker run -v ${{ github.workspace }}:/build_dir -e STDLIB=${{ matrix.stdlib }} --rm nes_clang_build_${{ matrix.osversion }} \
37+ docker run -v ${{ github.workspace }}:/build_dir -e ENABLE_SANITIZER=${{ matrix.sanitizer || '' }} -e STDLIB=${{ matrix.stdlib }} --rm nes_clang_build_${{ matrix.osversion }} \
3738 ./build_dir/build_ubuntu-x64.sh
3839 - name : Compress artifacts
3940 id : compressdeps
4041 run : |
41- 7z a nes-clang-18-${{ matrix.osversion }}-${{ matrix.stdlib }}-X64.7z clang -mx9 -aoa
42+ 7z a nes-clang-18-${{ matrix.osversion }}-${{ matrix.stdlib }}-X64-${{ matrix.sanitizer || 'None' }} .7z clang -mx9 -aoa
4243 - name : Release
4344 uses : softprops/action-gh-release@v1
4445 id : createrelease
4546 with :
4647 files : |
47- nes-clang-18-${{ matrix.osversion }}-${{ matrix.stdlib }}-X64.7z
48+ nes-clang-18-${{ matrix.osversion }}-${{ matrix.stdlib }}-X64-${{ matrix.sanitizer || 'None' }} .7z
4849 - name : Clean build artifacts
4950 id : cleanbuildartifacts
5051 if : always()
6869 matrix :
6970 osversion : [ubuntu-22.04]
7071 stdlib : [libc++, stdlibc++]
72+ sanitizer : [null, 'Address', 'Thread', 'Undefined']
7173 steps :
7274 - uses : AutoModality/action-clean@v1
7375 - uses : actions/checkout@v2
@@ -83,18 +85,18 @@ jobs:
8385 - name : Build Clang
8486 id : installdeps
8587 run : |
86- docker run -v ${{ github.workspace }}:/build_dir -e STDLIB=${{ matrix.stdlib }} --rm nes_clang_build_${{ matrix.osversion }} \
88+ docker run -v ${{ github.workspace }}:/build_dir -e ENABLE_SANITIZER=${{ matrix.sanitizer || '' }} -e STDLIB=${{ matrix.stdlib }} --rm nes_clang_build_${{ matrix.osversion }} \
8789 ./build_dir/build_ubuntu-arm64.sh
8890 - name : Compress artifacts
8991 id : compressdeps
9092 run : |
91- 7z a nes-clang-18-${{ matrix.osversion }}-${{ matrix.stdlib }}-arm64.7z clang -mx9 -aoa
93+ 7z a nes-clang-18-${{ matrix.osversion }}-${{ matrix.stdlib }}-arm64-${{ matrix.sanitizer || 'None' }} .7z clang -mx9 -aoa
9294 - name : Release
9395 uses : softprops/action-gh-release@v1
9496 id : createrelease
9597 with :
9698 files : |
97- nes-clang-18-${{ matrix.osversion }}-${{ matrix.stdlib }}-arm64.7z
99+ nes-clang-18-${{ matrix.osversion }}-${{ matrix.stdlib }}-arm64-${{ matrix.sanitizer || 'None' }} .7z
98100 - name : Clean build artifacts
99101 id : cleanbuildartifacts
100102 if : always()
0 commit comments