diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7551ba3e2..206244408 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -266,13 +266,29 @@ jobs: chmod a+x builder ./builder build -p ${{ env.PACKAGE_NAME }} - macos-debug: + macos-debug-tsan: + runs-on: macos-14 # latest + strategy: + fail-fast: false + matrix: + eventloop: ["kqueue", "dispatch_queue"] + steps: + - uses: aws-actions/configure-aws-credentials@v4 + with: + role-to-assume: ${{ env.CRT_CI_ROLE }} + aws-region: ${{ env.AWS_DEFAULT_REGION }} + - name: Build ${{ env.PACKAGE_NAME }} + consumers + run: | + python3 -c "from urllib.request import urlretrieve; urlretrieve('${{ env.BUILDER_HOST }}/${{ env.BUILDER_SOURCE }}/${{ env.BUILDER_VERSION }}/builder.pyz?run=${{ env.RUN }}', 'builder')" + chmod a+x builder + ./builder build -p ${{ env.PACKAGE_NAME }} --cmake-extra=-DAWS_USE_APPLE_NETWORK_FRAMEWORK=${{ matrix.eventloop == 'dispatch_queue' && 'ON' || 'OFF' }} --cmake-extra=-DENABLE_SANITIZERS=ON --cmake-extra=-DSANITIZERS=",thread" --config Debug + + macos-debug-asan: runs-on: macos-14 # latest strategy: fail-fast: false matrix: eventloop: ["kqueue", "dispatch_queue"] - sanitizers: [",thread", ",address,undefined"] steps: - uses: aws-actions/configure-aws-credentials@v4 with: @@ -282,7 +298,7 @@ jobs: run: | python3 -c "from urllib.request import urlretrieve; urlretrieve('${{ env.BUILDER_HOST }}/${{ env.BUILDER_SOURCE }}/${{ env.BUILDER_VERSION }}/builder.pyz?run=${{ env.RUN }}', 'builder')" chmod a+x builder - ./builder build -p ${{ env.PACKAGE_NAME }} --cmake-extra=-DAWS_USE_APPLE_NETWORK_FRAMEWORK=${{ matrix.eventloop == 'dispatch_queue' && 'ON' || 'OFF' }} --cmake-extra=-DENABLE_SANITIZERS=ON --cmake-extra=-DSANITIZERS="${{ matrix.sanitizers }}" --config Debug + ./builder build -p ${{ env.PACKAGE_NAME }} --cmake-extra=-DAWS_USE_APPLE_NETWORK_FRAMEWORK=${{ matrix.eventloop == 'dispatch_queue' && 'ON' || 'OFF' }} --cmake-extra=-DENABLE_SANITIZERS=ON --cmake-extra=-ASAN_OPTIONS=detect_leaks=1 --cmake-extra=-DSANITIZERS=",address,undefined" --config Debug freebsd: runs-on: ubuntu-24.04 # latest