Skip to content

asan

asan #448

Workflow file for this run

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: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
pip install sphinx myst-parser sphinx-markdown-tables sphinx_rtd_theme numpy
- name: Add C++ Problem Matcher
uses: ammaraskar/[email protected]
- name: Install Dependencies - 2
run: |
sudo apt-get -y install ninja-build
- name: Install Sphinx
run: |
sudo pip3 install sphinx myst-parser sphinx-markdown-tables sphinx_rtd_theme numpy
- 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