Skip to content

Commit

Permalink
add build job for clang 10 on ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
bernhardmgruber committed Mar 3, 2021
1 parent af746fa commit 67e68f2
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,40 @@ jobs:
- name: run tests
run: build/tests

build-ubuntu-clang10:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: install boost
run: |
sudo apt install libboost-all-dev
- name: vcpkg install dependencies
run: |
vcpkg install catch2 fmt
- name: install alpaka
run: |
git clone https://github.com/alpaka-group/alpaka.git
mkdir alpaka/build
cd alpaka/build
cmake .. -DCMAKE_TOOLCHAIN_FILE=/usr/local/share/vcpkg/scripts/buildsystems/vcpkg.cmake
sudo cmake --build . --target install
- name: install Vc
run: |
git clone https://github.com/VcDevel/Vc.git
mkdir Vc/build
cd Vc/build
cmake .. -DBUILD_TESTING=OFF -DCMAKE_TOOLCHAIN_FILE=/usr/local/share/vcpkg/scripts/buildsystems/vcpkg.cmake
sudo cmake --build . --target install
- name: cmake
run: |
mkdir build
cd build
CXX=clang++-10 cmake .. -DCMAKE_BUILD_TYPE=$CONFIG -DASAN_FOR_TESTS=ON -DALPAKA_ACC_CPU_B_SEQ_T_SEQ_ENABLE=ON -DCMAKE_TOOLCHAIN_FILE=/usr/local/share/vcpkg/scripts/buildsystems/vcpkg.cmake
- name: build tests + examples
run: cmake --build build -j $THREADS
- name: run tests
run: build/tests

build-windows:
runs-on: windows-latest
env:
Expand Down

0 comments on commit 67e68f2

Please sign in to comment.