Skip to content

Use C99 like the Linux kernel, again #59

Use C99 like the Linux kernel, again

Use C99 like the Linux kernel, again #59

Workflow file for this run

---
name: Synopsys
on:
push:
branches: [coverity_scan]
jobs:
coverity-scan:
name: Coverity Scan
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Download the Coverity Scan Build Tool
run: |
wget -q https://scan.coverity.com/download/cxx/linux64 --post-data "token=$TOKEN&project=adrienverge%2Fopenfortivpn" -O cov-analysis-linux64.tar.gz
mkdir cov-analysis-linux64
tar xzf cov-analysis-linux64.tar.gz --strip 1 -C cov-analysis-linux64
env:
TOKEN: ${{ secrets.COVERITY_SCAN_TOKEN }}
- name: Build
run: |
./autogen.sh
./configure --prefix=/usr --sysconfdir=/etc
export PATH=`pwd`/cov-analysis-linux64/bin:$PATH
cov-build --dir cov-int make
- name: Upload the Project Build
run: |
tar caf openfortivpn.xz cov-int
curl \
--form token=$TOKEN \
--form [email protected] \
--form [email protected] \
--form version=coverity_scan \
--form description="Client for PPP+TLS VPN tunnel services" \
https://scan.coverity.com/builds?project=adrienverge%2Fopenfortivpn
env:
TOKEN: ${{ secrets.COVERITY_SCAN_TOKEN }}