diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index a9afca9..560d9a6 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -20,15 +20,17 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v3 + - name: Install dependencies + run: brew install popt - name: Initialize CodeQL uses: github/codeql-action/init@v2 with: languages: cpp queries: security-and-quality - - name: Install dependencies and build project + - name: Build sources run: | - brew install pkg-config popt cmake -S . -B build cmake --build build + cp -r src/* build/src/ - name: Perform CodeQL analysis uses: github/codeql-action/analyze@v2