File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 10
10
11
11
jobs :
12
12
build :
13
- runs-on : macOS-latest
13
+ runs-on : ubuntu-20.04
14
14
steps :
15
15
- uses : actions/checkout@v2
16
16
name : checkout repo
@@ -30,17 +30,17 @@ jobs:
30
30
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
31
31
- name : install
32
32
run : |
33
- echo "LIBRARY_PATH=$LIBRARY_PATH:/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib" >> $GITHUB_ENV
34
- brew install ninja llvm pkg-config libb2 hwloc
33
+ sudo apt-get update
34
+ sudo apt-get install -y ninja-build python-setuptools pkg-config ocl-icd-* opencl-headers libhwloc-dev
35
35
sudo python3 -m pip install --upgrade pip
36
36
sudo python3 -m pip install scikit-build cmake requests gitpython gcovr pyyaml
37
37
- name : cmake
38
38
env :
39
+ CC : " clang"
40
+ CXX : " clang++"
39
41
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }} # has to be included to access other secrets
40
42
GITHUB_HUNTER_USERNAME : ${{ secrets.HUNTER_USERNAME }}
41
43
GITHUB_HUNTER_TOKEN : ${{ secrets.HUNTER_TOKEN }}
42
- CFLAGS : " -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include"
43
- CXXFLAGS : " -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include"
44
44
run : cmake . -GNinja -Bbuild -D ASAN=ON -D TESTING_PROOFS=ON -D TESTING_ACTORS=ON
45
45
- name : build
46
46
run : cmake --build build -- -j2
49
49
CTEST_OUTPUT_ON_FAILURE : 1
50
50
# ASAN container overflow detection is disabled because of false-positives.
51
51
# (https://github.com/google/sanitizers/wiki/AddressSanitizerContainerOverflow#false-positives)
52
- ASAN_OPTIONS : " halt_on_error=0 : detect_container_overflow=0"
52
+ ASAN_OPTIONS : " halt_on_error=1 : detect_container_overflow=0"
53
53
run : cmake --build build --target test
You can’t perform that action at this time.
0 commit comments