Skip to content

Commit

Permalink
add ubuntu 24 and gcc 14
Browse files Browse the repository at this point in the history
  • Loading branch information
diegomrsantos committed Jul 15, 2024
1 parent 8f609b6 commit df1e18d
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ jobs:
target:
- os: linux
cpu: amd64
- os: linux-ubuntu-24
cpu: amd64
- os: linux
cpu: i386
- os: macos
Expand All @@ -32,6 +34,9 @@ jobs:
os: linux
builder: ubuntu-latest
shell: bash
- target:
os: linux-ubuntu-24 # this must be removed when latest is 24.04
builder: ubuntu-24.04
- target:
os: macos
cpu: amd64
Expand Down Expand Up @@ -165,6 +170,15 @@ jobs:
bash build_nim.sh nim csources dist/nimble NimBinaries
echo '${{ github.workspace }}/nim/bin' >> $GITHUB_PATH
- name: Use gcc 14
if : ${{ matrix.target.os == 'linux-ubuntu-24' }}
run: |
# Add GCC-14 to alternatives
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-14 14
# Set GCC-14 as the default
sudo update-alternatives --set gcc /usr/bin/gcc-14

- name: Run tests
run: |
nim --version
Expand Down

0 comments on commit df1e18d

Please sign in to comment.