ci: fix macOS builds - Use pkg-config to find popt #6
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: "CodeQL" | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
permissions: | |
contents: read | |
jobs: | |
analyze: | |
name: Analyze | |
runs-on: ubuntu-latest | |
permissions: | |
actions: read | |
security-events: write | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@d39d31e687223d841ef683f52467bd88e9b21c14 | |
with: | |
languages: cpp | |
- name: Install Dependencies | |
run: sudo apt-get install -y automake libacl1-dev libpopt-dev libselinux1-dev | |
- name: Bootstrap | |
run: ./autogen.sh | |
- name: Configure | |
run: ./configure --disable-silent-rules | |
- name: Build | |
run: make | |
- name: Perform CodeQL Analysis | |
uses: github/codeql-action/analyze@d39d31e687223d841ef683f52467bd88e9b21c14 |