From 72b478a998933b80ba2cc79b52cd411d765a9303 Mon Sep 17 00:00:00 2001 From: BELLIER Sacha Date: Sun, 1 Dec 2024 14:40:47 +0100 Subject: [PATCH] wip: update CI; Windows MSVC does not support std::expected (C++23) --- .buildkite/linux_amd64.yml | 4 ++-- .buildkite/windows_amd64.yml | 6 ++--- .github/workflows/StreamFormat.yml | 36 +++++++++++++++--------------- 3 files changed, 23 insertions(+), 23 deletions(-) diff --git a/.buildkite/linux_amd64.yml b/.buildkite/linux_amd64.yml index d22b09c..a38b4a4 100644 --- a/.buildkite/linux_amd64.yml +++ b/.buildkite/linux_amd64.yml @@ -9,5 +9,5 @@ steps: - label: ":bazel: Build and Test on Clang (W asan)" commands: - - CC=clang bazelisk build --features=asan //:StreamFormatTests - - CC=clang bazelisk test --features=asan //:StreamFormatTests + - CC=clang-20 bazelisk build --features=asan //:StreamFormatTests + - CC=clang-20 bazelisk test --features=asan //:StreamFormatTests diff --git a/.buildkite/windows_amd64.yml b/.buildkite/windows_amd64.yml index 00e4841..b446e4b 100644 --- a/.buildkite/windows_amd64.yml +++ b/.buildkite/windows_amd64.yml @@ -2,9 +2,9 @@ agents: queue: "agent-runners-windows-amd64" steps: - - label: ":bazel: Build And Test MSVC" - commands: - - bazelisk test //:StreamFormatTests + # - label: ":bazel: Build And Test MSVC" + # commands: + # - bazelisk test //:StreamFormatTests - label: ":bazel: Build And Test Winlibs/clang" commands: diff --git a/.github/workflows/StreamFormat.yml b/.github/workflows/StreamFormat.yml index 715a01a..064320f 100644 --- a/.github/workflows/StreamFormat.yml +++ b/.github/workflows/StreamFormat.yml @@ -9,20 +9,20 @@ on: - '**' jobs: - windows-latest-msvc: - runs-on: windows-latest - steps: - - uses: actions/checkout@v4 - - uses: bazelbuild/setup-bazelisk@v3 - - name: Mount bazel cache - uses: actions/cache@v4 - with: - path: "~/.cache/bazel" - key: bazel - - name: Building... - run: bazelisk build //:StreamFormatTests - - name: Testing... - run: bazelisk test //:StreamFormatTests + # windows-latest-msvc: + # runs-on: windows-latest + # steps: + # - uses: actions/checkout@v4 + # - uses: bazelbuild/setup-bazelisk@v3 + # - name: Mount bazel cache + # uses: actions/cache@v4 + # with: + # path: "~/.cache/bazel" + # key: bazel + # - name: Building... + # run: bazelisk build //:StreamFormatTests + # - name: Testing... + # run: bazelisk test //:StreamFormatTests windows-latest-winlibs: runs-on: windows-latest @@ -70,10 +70,10 @@ jobs: run: | wget https://apt.llvm.org/llvm.sh chmod +x ./llvm.sh - sudo ./llvm.sh 17 + sudo ./llvm.sh 20 - name: Version - run: clang++-17 --version + run: clang++-20 --version - name: Building... - run: CC=clang++-17 bazelisk build //:StreamFormatTests + run: CC=clang++-20 bazelisk build //:StreamFormatTests - name: Testing... (W asan) - run: CC=clang++-17 bazelisk test --features=asan //:StreamFormatTests + run: CC=clang++-20 bazelisk test --features=asan //:StreamFormatTests