Skip to content

Commit

Permalink
clang.
Browse files Browse the repository at this point in the history
  • Loading branch information
trivialfis committed Apr 23, 2021
1 parent baf8936 commit 67b8e4e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,14 @@ jobs:
- uses: actions/checkout@v2
with:
submodules: 'true'
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: "10.3"
- name: Install system packages
run: |
brew install lz4 ninja libomp
- name: Build gtest binary
run: |
mkdir build
cd build
cmake .. -DGOOGLE_TEST=ON -DUSE_OPENMP=ON -DUSE_DMLC_GTEST=ON -DPLUGIN_LZ4=ON -DPLUGIN_DENSE_PARSER=ON -GNinja
cmake .. -DGOOGLE_TEST=ON -DUSE_OPENMP=ON -DUSE_DMLC_GTEST=ON -DPLUGIN_LZ4=ON -DPLUGIN_DENSE_PARSER=ON -GNinja -DCMAKE_CXX_COMPILER=$(brew --prefix llvm)/bin/clang++ -DCMAKE_C_COMPILER=$(brew --prefix llvm)/bin/clang
ninja -v
- name: Run gtest binary
run: |
Expand Down

0 comments on commit 67b8e4e

Please sign in to comment.