diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2025-03-05 18:49:15 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2025-03-07 18:03:02 +0800 |
| commit | aa21e4ea0687fd0c8d333161f5ec31a580512e9e (patch) | |
| tree | 11a5315b3f242a8bec6d9d0ccf2015f165dc3af5 /.github | |
| parent | bbe178b62abcff6238effd33e112c69fedc7b6d0 (diff) | |
ci: explicitly use g++-14
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/ci.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d911da3..609339c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,7 +22,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Install dependencies(clang-format & clang-tidy) - run: sudo apt update && sudo apt install -y g++ && sudo apt install -y clang-format && sudo apt install -y clang-tidy + run: sudo apt update && sudo apt install -y g++-14 && sudo apt install -y clang-format && sudo apt install -y clang-tidy && update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-14 10 - name: Checkout repository uses: actions/checkout@v4 @@ -48,7 +48,7 @@ jobs: steps: - name: Install dependencies(g++) - run: sudo apt update && sudo apt install -y g++ + run: sudo apt update && sudo apt install -y g++-14 && update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-14 10 - name: Checkout repository uses: actions/checkout@v4 |
