Add tutorial on testing #515
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Test on Windows" | |
on: | |
push: | |
branches-ignore: [ gh-pages ] | |
pull_request: | |
branches-ignore: [ gh-pages ] | |
schedule: | |
- cron: '26 10 * * 3' | |
jobs: | |
analyze: | |
name: Build and Analyze | |
runs-on: windows-latest | |
permissions: | |
actions: read | |
contents: read | |
security-events: write | |
strategy: | |
fail-fast: false | |
matrix: | |
language: [ 'cpp' ] | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
# Initializes the CodeQL tools for scanning. | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@v3 | |
with: | |
languages: ${{ matrix.language }} | |
# If you wish to specify custom queries, you can do so here or in a config file. | |
# By default, queries listed here will override any specified in a config file. | |
# Prefix the list here with "+" to use these queries and those in the config file. | |
# queries: ./path/to/local/query, your-org/your-repo/queries@main | |
# Init CodeQL before build to let it analyze the compiled results | |
- name: Build and test | |
run: make all | |
- name: Perform CodeQL Analysis | |
uses: github/codeql-action/analyze@v3 |