Skip to content

Commit

Permalink
Update linux_analysis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Idhrendur authored Dec 17, 2024
1 parent a23f38a commit d7c7ee7
Showing 1 changed file with 4 additions and 17 deletions.
21 changes: 4 additions & 17 deletions .github/workflows/linux_analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,30 +118,17 @@ jobs:
export CC=/usr/bin/gcc-12
export CXX=/usr/bin/g++-12
- name: Configure cmake
run: cmake --preset x64-coverage-linux

- name: Build solution
run: cmake --build --preset build-x64-coverage-linux --target Vic3ToHoi4 ConverterFrontend Vic3ToHoi4Tests -- -j40
run: |
cmake --preset x64-release-linux
cmake --build --preset build-x64-release-linux --target Vic3ToHoi4 ConverterFrontend Vic3ToHoi4Tests -- -j40
- name: Run tests
run: |
cd build/test/Coverage-Linux/
cd build/test/Release-Linux/
./Vic3ToHoi4Tests
cd ../../..
- name: Run gcov
run: cmake --build --preset build-x64-coverage-linux --target gcov

- name: Run lcov
run: cmake --build --preset build-x64-coverage-linux --target lcov

- name: Upload lcoverage artifact
uses: actions/upload-artifact@v4
with:
name: coverage-report
path: build/x64-coverage-linux/lcoverage/

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3

Expand Down

0 comments on commit d7c7ee7

Please sign in to comment.