Compare commits

...

6 Commits

Author SHA1 Message Date
ringabout
4da27cec09 Apply suggestions from code review 2024-08-05 17:58:31 +08:00
ringabout
cf7b0c9da9 Apply suggestions from code review 2024-05-25 08:57:50 +08:00
ringabout
4813733852 fixes 2024-05-25 08:56:51 +08:00
ringabout
26bd611cc7 check twice 2024-05-24 22:58:10 +08:00
ringabout
f5bff7cb24 fixes ppa 2024-05-24 22:44:28 +08:00
ringabout
6b130813ac test gcc-14 on ubuntu 2024-05-24 22:25:39 +08:00

View File

@@ -22,6 +22,10 @@ jobs:
Linux_amd64:
vmImage: 'ubuntu-20.04'
CPU: amd64
Linux_amd64_gcc14:
vmImage: 'ubuntu-24.04'
CPU: amd64
# regularly breaks, refs bug #17325
# Linux_i386:
# # on 'ubuntu-16.04' (not supported anymore anyways) it errored with:
@@ -87,6 +91,15 @@ jobs:
displayName: 'Install dependencies (amd64 Linux)'
condition: and(succeeded(), eq(variables['skipci'], 'false'), eq(variables['Agent.OS'], 'Linux'), eq(variables['CPU'], 'amd64'))
- bash: |
sudo add-apt-repository ppa:ubuntu-toolchain-r/ppa -y
sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
sudo apt update
sudo apt install gcc-14 g++-14
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-14 60 --slave /usr/bin/g++ g++ /usr/bin/g++-14
displayName: 'Install dependencies (amd64 Linux gcc 14)'
condition: and(succeeded(), eq(variables['skipci'], 'false'), eq(variables['Agent.OS'], 'Linux'), eq(variables['CPU'], 'amd64'), eq(variables['vmImage'], 'ubuntu-latest'))
- bash: |
set -e
. ci/funs.sh