-
Notifications
You must be signed in to change notification settings - Fork 9
46 lines (44 loc) · 1.29 KB
/
asan.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
name: asan
on:
schedule:
- cron: '15 5 * * *'
jobs:
build:
env:
VCPKG_BINARY_SOURCES: 'clear;nuget,GitHub,readwrite'
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: true
- name: Add C++ Problem Matcher
uses: ammaraskar/[email protected]
- name: Install Dependencies
run: |
sudo apt-get -y install ninja-build
- name: Setup NuGet Credentials
shell: bash
run: |
mono `vcpkg fetch nuget | tail -n 1` \
sources add \
-source "https://nuget.pkg.github.com/BlueQuartzSoftware/index.json" \
-storepasswordincleartext \
-name "GitHub" \
-username "BlueQuartzSoftware" \
-password "${{secrets.GITHUB_TOKEN}}"
mono `vcpkg fetch nuget | tail -n 1` \
setapikey "${{secrets.GITHUB_TOKEN}}" \
-source "https://nuget.pkg.github.com/BlueQuartzSoftware/index.json"
- name: Configure
env:
CC: clang-10
CXX: clang++-10
run: |
cmake --preset ci-asan ${{github.workspace}}
- name: Build
run: |
cmake --build --preset ci-asan
- name: Test
run: |
ctest --preset ci-asan