Skip to content

Commit

Permalink
Use g++-10 for C++20 <span> support
Browse files Browse the repository at this point in the history
  • Loading branch information
greg7mdp committed Jul 31, 2023
1 parent f6fa8dd commit 74e7ee4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@ jobs:
- uses: actions/checkout@v2
with:
submodules: true
- name: 'setup'
if: contains(matrix.vm_image, '20.04')
run: |
sudo apt-get install -y g++-10
sudo update-alternatives -install /usr/bin/g++ g++ /usr/bin/g++-10 100
- name: 'configure'
run: |
cmake -DCMAKE_BUILD_TYPE=${{ matrix.config.mode }} -Bbuild -S.
Expand Down

0 comments on commit 74e7ee4

Please sign in to comment.