From 216f4e6de8211225ffadca5a4dd4437801cb14f3 Mon Sep 17 00:00:00 2001 From: Daco Harkes Date: Fri, 15 Sep 2023 08:00:56 +0200 Subject: [PATCH 1/5] [CI] Bump clang to newer version --- .github/workflows/dart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dart.yaml b/.github/workflows/dart.yaml index 4f662eacb..b73940220 100644 --- a/.github/workflows/dart.yaml +++ b/.github/workflows/dart.yaml @@ -82,7 +82,7 @@ jobs: if: ${{ matrix.sdk == 'stable' }} - name: Install native toolchains - run: sudo apt-get update && sudo apt-get install clang-14 gcc-i686-linux-gnu gcc-aarch64-linux-gnu gcc-arm-linux-gnueabihf + run: sudo apt-get update && sudo apt-get install clang-17 gcc-i686-linux-gnu gcc-aarch64-linux-gnu gcc-arm-linux-gnueabihf if: ${{ matrix.sdk == 'stable' && matrix.os == 'ubuntu' }} - run: dart test From 8abfe493e9e11b254c1c18bde3cca6034ef02907 Mon Sep 17 00:00:00 2001 From: Daco Harkes Date: Fri, 15 Sep 2023 08:05:05 +0200 Subject: [PATCH 2/5] Try clang 16 --- .github/workflows/dart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dart.yaml b/.github/workflows/dart.yaml index b73940220..8ab8b972f 100644 --- a/.github/workflows/dart.yaml +++ b/.github/workflows/dart.yaml @@ -82,7 +82,7 @@ jobs: if: ${{ matrix.sdk == 'stable' }} - name: Install native toolchains - run: sudo apt-get update && sudo apt-get install clang-17 gcc-i686-linux-gnu gcc-aarch64-linux-gnu gcc-arm-linux-gnueabihf + run: sudo apt-get update && sudo apt-get install clang-16 gcc-i686-linux-gnu gcc-aarch64-linux-gnu gcc-arm-linux-gnueabihf if: ${{ matrix.sdk == 'stable' && matrix.os == 'ubuntu' }} - run: dart test From 1bb2a1d888c9e361ed92412771947332d7a2b88f Mon Sep 17 00:00:00 2001 From: Daco Harkes Date: Fri, 15 Sep 2023 08:14:19 +0200 Subject: [PATCH 3/5] Try adding repo --- .github/workflows/dart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dart.yaml b/.github/workflows/dart.yaml index 8ab8b972f..aae35182a 100644 --- a/.github/workflows/dart.yaml +++ b/.github/workflows/dart.yaml @@ -82,7 +82,7 @@ jobs: if: ${{ matrix.sdk == 'stable' }} - name: Install native toolchains - run: sudo apt-get update && sudo apt-get install clang-16 gcc-i686-linux-gnu gcc-aarch64-linux-gnu gcc-arm-linux-gnueabihf + run: add-apt-repository 'deb http://apt.llvm.org/unstable/ llvm-toolchain-16 main' && sudo apt-get update && sudo apt-get install clang-16 gcc-i686-linux-gnu gcc-aarch64-linux-gnu gcc-arm-linux-gnueabihf if: ${{ matrix.sdk == 'stable' && matrix.os == 'ubuntu' }} - run: dart test From 7ee67d7f966e933f8c61a5a1c52e025af88ce964 Mon Sep 17 00:00:00 2001 From: Daco Harkes Date: Fri, 15 Sep 2023 08:16:12 +0200 Subject: [PATCH 4/5] sudo --- .github/workflows/dart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dart.yaml b/.github/workflows/dart.yaml index aae35182a..e2667350c 100644 --- a/.github/workflows/dart.yaml +++ b/.github/workflows/dart.yaml @@ -82,7 +82,7 @@ jobs: if: ${{ matrix.sdk == 'stable' }} - name: Install native toolchains - run: add-apt-repository 'deb http://apt.llvm.org/unstable/ llvm-toolchain-16 main' && sudo apt-get update && sudo apt-get install clang-16 gcc-i686-linux-gnu gcc-aarch64-linux-gnu gcc-arm-linux-gnueabihf + run: sudo add-apt-repository 'deb http://apt.llvm.org/unstable/ llvm-toolchain-16 main' && sudo apt-get update && sudo apt-get install clang-16 gcc-i686-linux-gnu gcc-aarch64-linux-gnu gcc-arm-linux-gnueabihf if: ${{ matrix.sdk == 'stable' && matrix.os == 'ubuntu' }} - run: dart test From bbb30188b075d58559bdec8300173a9f162803a9 Mon Sep 17 00:00:00 2001 From: Daco Harkes Date: Fri, 15 Sep 2023 08:25:58 +0200 Subject: [PATCH 5/5] Bump to clang 15 --- .github/workflows/dart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dart.yaml b/.github/workflows/dart.yaml index e2667350c..189994fff 100644 --- a/.github/workflows/dart.yaml +++ b/.github/workflows/dart.yaml @@ -82,7 +82,7 @@ jobs: if: ${{ matrix.sdk == 'stable' }} - name: Install native toolchains - run: sudo add-apt-repository 'deb http://apt.llvm.org/unstable/ llvm-toolchain-16 main' && sudo apt-get update && sudo apt-get install clang-16 gcc-i686-linux-gnu gcc-aarch64-linux-gnu gcc-arm-linux-gnueabihf + run: sudo apt-get update && sudo apt-get install clang-15 gcc-i686-linux-gnu gcc-aarch64-linux-gnu gcc-arm-linux-gnueabihf if: ${{ matrix.sdk == 'stable' && matrix.os == 'ubuntu' }} - run: dart test