Skip to content

Commit

Permalink
Compile with gcc 10
Browse files Browse the repository at this point in the history
  • Loading branch information
vasil-pashov committed Oct 16, 2024
1 parent eae0068 commit 6c1b078
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/static_analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
on: [pull_request]
jobs:
polaris-scan:
runs-on: [ ubuntu-22.04 ]
runs-on: [ ubuntu-latest]
env:
VCPKG_NUGET_USER: ${{secrets.VCPKG_NUGET_USER || github.repository_owner}}
VCPKG_NUGET_TOKEN: ${{secrets.VCPKG_NUGET_TOKEN || secrets.GITHUB_TOKEN}}
Expand Down Expand Up @@ -35,7 +35,7 @@
with:
cmakeListsTxtPath: ${{github.workspace}}/cpp/CMakeLists.txt
configurePreset: linux-debug
configurePresetAdditionalArgs: "['-DVCPKG_INSTALL_OPTIONS=--clean-after-build']"
configurePresetAdditionalArgs: "['-DVCPKG_INSTALL_OPTIONS=--clean-after-build', '-DCMAKE_CXX_COMPILER=g++-10', '-DCMAKE_C_COMPILER=gcc-10']"

- name: Polaris PR Scan
if: ${{ github.event_name == 'pull_request' }}
Expand Down

0 comments on commit 6c1b078

Please sign in to comment.