From 26a0890c863dba1cc82960d3504d002280153cc4 Mon Sep 17 00:00:00 2001 From: Takeshi Yoneda Date: Wed, 12 May 2021 14:14:04 +0900 Subject: [PATCH] Use clang. Signed-off-by: Takeshi Yoneda --- .bazelrc | 2 ++ .github/workflows/cpp.yml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.bazelrc b/.bazelrc index d63c7058..75fdaa2c 100644 --- a/.bazelrc +++ b/.bazelrc @@ -1,4 +1,6 @@ build --enable_platform_specific_config +build --action_env=CC=clang +build --action_env=CXX=clnag++ build:linux --cxxopt=-std=c++17 # See https://bytecodealliance.github.io/wasmtime/c-api/ diff --git a/.github/workflows/cpp.yml b/.github/workflows/cpp.yml index bc3990f3..dbbdfda1 100644 --- a/.github/workflows/cpp.yml +++ b/.github/workflows/cpp.yml @@ -69,7 +69,7 @@ jobs: uses: actions/cache@v1 with: path: "/home/runner/.cache/bazel" - key: bazel-${{ matrix.runtime }}- + key: bazel-${{ matrix.runtime }}-clang - name: Test run: |