Skip to content

Commit

Permalink
Defining github action for ubuntu compile
Browse files Browse the repository at this point in the history
  • Loading branch information
huitema committed Dec 19, 2020
1 parent a3845b8 commit 6e9c3b4
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/codeql/codeql-config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
name: "CodeQL config"

queries:
- uses: security-extended # security-and-quality (very verbose)
38 changes: 38 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
name: "CodeQL"

on:
push

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
# We must fetch at least the immediate parents so that if this is
# a pull request then we can checkout the head.
fetch-depth: 2
submodules: 'recursive'

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
languages: cpp
config-file: ./.github/codeql/codeql-config.yml

- run: |
sudo apt-get install -y libssl-dev
./ci/build_picotls.sh
./ci/build_picoquic.sh
mkdir build
cd build
cmake ..
cmake --build .
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1

0 comments on commit 6e9c3b4

Please sign in to comment.