From d047ebeb69e482335f42e0aeae075578ec6be5be Mon Sep 17 00:00:00 2001 From: Michal Bali Date: Tue, 25 Aug 2020 16:45:45 +0200 Subject: [PATCH 1/2] add TSAN check on mac OS --- .github/workflows/Check.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/.github/workflows/Check.yml b/.github/workflows/Check.yml index 49f14bd0c..de1e1ce14 100644 --- a/.github/workflows/Check.yml +++ b/.github/workflows/Check.yml @@ -55,6 +55,27 @@ jobs: - name: Test run: cd build/bin && ./server_test && ./library_test + macos-server: + name: MacOS Clang TSAN + runs-on: macos-10.15 + + steps: + - uses: actions/checkout@v1 + - name: Requirements install + run: | + brew install ninja llvm@8 + export PATH=~/usr/local/opt/llvm\@8/bin:$PATH + - name: Configure + run: mkdir build && cd build && cmake -G Ninja -DBUILD_VSIX=Off -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DLLVM_PATH=/usr/local/opt/llvm\@8 -DCMAKE_CXX_FLAGS="-fsanitize=thread" ../ + - name: Build + run: cd build && cmake --build . -- -v + - name: Server Test + run: cd build/bin && ./server_test && ./library_test + - name: Extension Test + run: npm --prefix clients/vscode-hlasmplugin run test + - name: Extension Test Insiders + run: npm --prefix clients/vscode-hlasmplugin run test:insiders + clang-format-check: name: Code format runs-on: ubuntu-18.04 From 2a9cdb5815c07ba40bf7fdb8bda35f740346c9a3 Mon Sep 17 00:00:00 2001 From: Michal Bali Date: Tue, 25 Aug 2020 17:27:36 +0200 Subject: [PATCH 2/2] fix macos tsan check --- .github/workflows/Check.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/Check.yml b/.github/workflows/Check.yml index de1e1ce14..64c9e209e 100644 --- a/.github/workflows/Check.yml +++ b/.github/workflows/Check.yml @@ -66,7 +66,7 @@ jobs: brew install ninja llvm@8 export PATH=~/usr/local/opt/llvm\@8/bin:$PATH - name: Configure - run: mkdir build && cd build && cmake -G Ninja -DBUILD_VSIX=Off -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DLLVM_PATH=/usr/local/opt/llvm\@8 -DCMAKE_CXX_FLAGS="-fsanitize=thread" ../ + run: mkdir build && cd build && cmake -G Ninja -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DLLVM_PATH=/usr/local/opt/llvm\@8 -DCMAKE_CXX_FLAGS="-fsanitize=thread" ../ - name: Build run: cd build && cmake --build . -- -v - name: Server Test