ares_destroy()
race condition during shutdown due to missing lock (…
#1
This file contains 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
# Copyright (C) The c-ares project and its contributors | |
# SPDX-License-Identifier: MIT | |
name: OpenBSD | |
on: | |
push: | |
pull_request: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Test | |
uses: cross-platform-actions/[email protected] | |
env: | |
DIST: OPENBSD | |
BUILD_TYPE: "cmake" | |
CMAKE_FLAGS: "-DCMAKE_BUILD_TYPE=DEBUG -DCARES_STATIC=ON -DCARES_STATIC_PIC=ON -G Ninja" | |
CMAKE_TEST_FLAGS: "-DCARES_BUILD_TESTS=ON" | |
TEST_DEBUGGER: "lldb" | |
with: | |
operating_system: openbsd | |
version: '7.5' | |
shell: 'bash' | |
environment_variables: DIST BUILD_TYPE CMAKE_FLAGS CMAKE_TEST_FLAGS TEST_DEBUGGER | |
run: | | |
sudo pkg_add bash cmake gtest pkgconf ninja gdb lldb | |
sudo ln -sf /usr/local/bin/bash /bin/bash | |
echo "BUILD_TYPE: $BUILD_TYPE" | |
echo "CMAKE_FLAGS: $CMAKE_FLAGS" | |
echo "CMAKE_TEST_FLAGS: $CMAKE_TEST_FLAGS" | |
./ci/build.sh | |
./ci/test.sh | |