withAsyncTaskCleanupHandler calls its cleanup handler twice if body throws #100
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Pull request | |
on: | |
pull_request: | |
types: [opened, reopened, synchronize] | |
jobs: | |
tests: | |
name: Test | |
uses: swiftlang/github-workflows/.github/workflows/swift_package_test.yml@main | |
with: | |
linux_os_versions: '["noble", "jammy", "focal", "rhel-ubi9"]' | |
linux_swift_versions: '["6.1", "nightly-main"]' | |
linux_build_command: 'swift build' | |
windows_swift_versions: '["6.1", "nightly-main"]' | |
windows_build_command: 'swift build' | |
enable_macos_checks: true | |
macos_xcode_versions: '["16.3"]' | |
soundness: | |
name: Soundness | |
uses: swiftlang/github-workflows/.github/workflows/soundness.yml@main | |
with: | |
license_header_check_project_name: "Swift.org" | |
docs_check_enabled: false | |
format_check_enabled: false | |
unacceptable_language_check_enabled: false | |
api_breakage_check_enabled: false | |
cmake_build: | |
name: CMake Build | |
runs-on: ubuntu-latest | |
container: swift:6.1-noble | |
steps: | |
- name: checkout sources | |
uses: actions/checkout@v1 | |
- name: Install dependencies | |
shell: bash | |
run: apt update && apt install -y cmake ninja-build | |
- name: Configure Project | |
shell: bash | |
run: cmake -G 'Ninja' -B build -S . -DCMAKE_C_COMPILER=clang -DCMAKE_Swift_COMPILER=swiftc -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=YES | |
- name: Build Project | |
shell: bash | |
run: cmake --build build |