Skip to content

Commit

Permalink
Workflow update
Browse files Browse the repository at this point in the history
  • Loading branch information
uweseimet committed Nov 30, 2023
1 parent 7b20a05 commit d4c831c
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions .github/workflows/analyze.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
working-directory: cpp

env:
PACKAGES: protobuf-compiler libspdlog-dev libpcap-dev libprotobuf-dev libgmock-dev
PACKAGES: openjdk-17-jre-headless protobuf-compiler libspdlog-dev libpcap-dev libprotobuf-dev libgmock-dev
BUILD_WRAPPER_OUT_DIR: "$HOME/.build_wrapper_out"
SONAR_SERVER_URL: "https://sonarcloud.io"
SONAR_PROJECT_KEY: "uweseimet_scsi2pi"
Expand All @@ -28,13 +28,6 @@ jobs:
- name: Install additional packages
run: sudo apt install --yes ${{ env.PACKAGES }}

- name: Set up Java
uses: actions/setup-java@v4
with:
java-version: 17
java-package: jre
distribution: temurin

- name: Set up Python for gcovr
uses: actions/setup-python@v4
with:
Expand All @@ -47,8 +40,6 @@ jobs:
uses: SonarSource/sonarcloud-github-c-cpp@v1

- name: Run build-wrapper
env:
PATH: $JAVA_HOME/bin:$PATH
run: |
build-wrapper-linux-x86-64 --out-dir ${{ env.BUILD_WRAPPER_OUT_DIR }} make -j $(nproc) coverage DEBUG=1
Expand Down

0 comments on commit d4c831c

Please sign in to comment.