NEWS update and version bump for v3.8.2 #13
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: SonarCloud Analysis | |
on: | |
push: | |
branches: [ "master", "[1-9].*" ] | |
pull_request: | |
types: [opened, synchronize, reopened] | |
permissions: | |
pull-requests: read # allows SonarCloud to decorate PRs with analysis results | |
jobs: | |
sonarcloud: | |
runs-on: ubuntu-latest | |
if: github.repository == 'gdnsd/gdnsd' | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
submodules: recursive | |
- name: install-deps | |
run: sudo apt -y install ragel libev-dev liburcu-dev libsodium-dev libunwind8-dev libmaxminddb-dev libsocket6-perl libio-socket-inet6-perl libwww-perl libhttp-daemon-perl libnet-dns-perl | |
- name: Install sonar-scanner and build-wrapper | |
uses: sonarsource/sonarcloud-github-c-cpp@v1 | |
- name: Build | |
env: | |
CFLAGS: "-O0 -g" | |
SLOW_TESTS: "1" | |
run: | | |
autoreconf -vif | |
./configure --without-hardening | |
build-wrapper-linux-x86-64 --out-dir bw-output make | |
- name: Analyze | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information | |
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} # Generate a token on Sonarcloud.io, add it to the secrets of this repo with the name SONAR_TOKEN (Settings > Secrets > Actions > add new repository secret) | |
run: sonar-scanner --define sonar.cfamily.build-wrapper-output=bw-output |