Bump actions/setup-go from 6 to 7 #3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: gcc-versions | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| build: | |
| strategy: | |
| matrix: | |
| env: | |
| - { NAME: "gcc-10", WITH_GRAPHICS: 1, WITH_X265: 1, WITH_AOM: 1, WITH_LIBDE265: 3, GCC: 10 } | |
| - { NAME: "gcc-11", WITH_GRAPHICS: 1, WITH_X265: 1, WITH_AOM: 1, WITH_LIBDE265: 3, GCC: 11 } | |
| - { NAME: "gcc-12", WITH_GRAPHICS: 1, WITH_X265: 1, WITH_AOM: 1, WITH_LIBDE265: 3, GCC: 12 } | |
| - { NAME: "gcc-13", WITH_GRAPHICS: 1, WITH_X265: 1, WITH_AOM: 1, WITH_LIBDE265: 3, GCC: 13 } | |
| - { NAME: "gcc-14", WITH_GRAPHICS: 1, WITH_X265: 1, WITH_AOM: 1, WITH_LIBDE265: 3, GCC: 14 } | |
| - { NAME: "gcc-15", WITH_GRAPHICS: 1, WITH_X265: 1, WITH_AOM: 1, WITH_LIBDE265: 3, GCC: 15 } | |
| env: ${{ matrix.env }} | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - name: Install dependencies | |
| run: | | |
| ./scripts/install-ci-linux.sh | |
| # gcc-15 is not in the noble main archives yet; pull it from the | |
| # ubuntu-toolchain-r/test PPA. The line is harmless for older GCCs. | |
| sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test | |
| sudo apt update | |
| sudo apt install gcc-${GCC} g++-${GCC} | |
| - name: Prepare CI | |
| env: | |
| CC: gcc-${{matrix.env.GCC}} | |
| CXX: g++-${{matrix.env.GCC}} | |
| run: | | |
| ./scripts/prepare-ci.sh | |
| - name: Run tests | |
| env: | |
| CC: gcc-${{matrix.env.GCC}} | |
| CXX: g++-${{matrix.env.GCC}} | |
| run: | | |
| ./scripts/run-ci.sh |