Skip to content

Commit abf8997

Browse files
[ci] Move all runners to ubuntu-latest
Also s/clang-8/clang-9/ due to clang-8 not being available as part of https://apt.llvm.org/focal/dists/
1 parent 4b182f4 commit abf8997

File tree

5 files changed

+12
-16
lines changed

5 files changed

+12
-16
lines changed

.github/workflows/cmake.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ defaults:
88
shell: bash -l {0}
99
jobs:
1010
build:
11-
runs-on: ubuntu-20.04
11+
runs-on: ubuntu-latest
1212
steps:
1313
- name: Checkout xsimd
1414
uses: actions/checkout@v3

.github/workflows/cross-rvv.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ env:
77
GCC_VERSION: "12"
88
jobs:
99
build:
10-
runs-on: ubuntu-22.04
10+
runs-on: ubuntu-latest
1111
name: 'RISC-V RVV${{ matrix.vector_bits }}'
1212
strategy:
1313
matrix:

.github/workflows/cross-sve.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ concurrency:
55
cancel-in-progress: true
66
jobs:
77
build:
8-
runs-on: ubuntu-20.04
8+
runs-on: ubuntu-latest
99
name: 'Arm SVE${{ matrix.vector_bits }}'
1010
strategy:
1111
matrix:

.github/workflows/emulated.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ defaults:
88
shell: bash -l {0}
99
jobs:
1010
build:
11-
runs-on: ubuntu-20.04
11+
runs-on: ubuntu-latest
1212
name: '${{ matrix.sys.compiler }} ${{ matrix.sys.version }} - emulated'
1313
strategy:
1414
matrix:
1515
sys:
16-
- { compiler: 'gcc', version: '7'}
17-
- { compiler: 'clang', version: '8'}
16+
- { compiler: 'gcc', version: '8'}
17+
- { compiler: 'clang', version: '9'}
1818
steps:
1919
- name: Setup compiler
2020
if: ${{ matrix.sys.compiler == 'gcc' }}

.github/workflows/linux.yml

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,22 +8,22 @@ defaults:
88
shell: bash -l {0}
99
jobs:
1010
build:
11-
runs-on: ubuntu-20.04
11+
runs-on: ubuntu-latest
1212
name: '${{ matrix.sys.compiler }} ${{ matrix.sys.version }} - ${{ matrix.sys.flags }}'
1313
strategy:
1414
matrix:
1515
sys:
16-
- { compiler: 'gcc', version: '7', flags: 'force_no_instr_set' }
17-
- { compiler: 'gcc', version: '8', flags: 'enable_xtl_complex' }
18-
- { compiler: 'gcc', version: '9', flags: 'avx' }
16+
- { compiler: 'gcc', version: '8', flags: 'force_no_instr_set' }
17+
- { compiler: 'gcc', version: '9', flags: 'enable_xtl_complex' }
18+
- { compiler: 'gcc', version: '10', flags: 'avx' }
1919
#- { compiler: 'gcc', version: '10', flags: 'avx512' } buggy
2020
- { compiler: 'gcc', version: '11', flags: 'avx512' }
2121
- { compiler: 'gcc', version: '11', flags: 'i386' }
2222
- { compiler: 'gcc', version: '11', flags: 'avx512pf' }
2323
- { compiler: 'gcc', version: '11', flags: 'avx512vbmi' }
2424
- { compiler: 'gcc', version: '11', flags: 'avx512vbmi2' }
2525
- { compiler: 'gcc', version: '11', flags: 'avx512vnni' }
26-
- { compiler: 'clang', version: '8', flags: 'force_no_instr_set' }
26+
- { compiler: 'clang', version: '9', flags: 'force_no_instr_set' }
2727
- { compiler: 'clang', version: '10', flags: 'enable_xtl_complex' }
2828
- { compiler: 'clang', version: '12', flags: 'avx' }
2929
- { compiler: 'clang', version: '13', flags: 'sse3' }
@@ -54,11 +54,7 @@ jobs:
5454
LLVM_VERSION=${{ matrix.sys.version }}
5555
#sudo add-apt-repository ppa:ubuntu-toolchain-r/test || exit 1
5656
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add - || exit 1
57-
if [[ $LLVM_VERSION -ge 13 ]]; then
58-
sudo add-apt-repository "deb http://apt.llvm.org/focal/ llvm-toolchain-focal-$LLVM_VERSION main" || exit 1
59-
else
60-
sudo add-apt-repository "deb http://apt.llvm.org/focal/ llvm-toolchain-focal main" || exit 1
61-
fi || exit 1
57+
sudo add-apt-repository "deb http://apt.llvm.org/focal/ llvm-toolchain-focal-$LLVM_VERSION main" || exit 1
6258
sudo apt-get update || exit 1
6359
sudo apt-get --no-install-suggests --no-install-recommends install clang-$LLVM_VERSION || exit 1
6460
sudo apt-get --no-install-suggests --no-install-recommends install g++-9 g++-9-multilib || exit 1

0 commit comments

Comments
 (0)