Skip to content

Commit

Permalink
wip: update CI; Windows MSVC does not support std::expected (C++23)
Browse files Browse the repository at this point in the history
  • Loading branch information
0-Sacha committed Dec 1, 2024
1 parent fb4690b commit 72b478a
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 23 deletions.
4 changes: 2 additions & 2 deletions .buildkite/linux_amd64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
6 changes: 3 additions & 3 deletions .buildkite/windows_amd64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
36 changes: 18 additions & 18 deletions .github/workflows/StreamFormat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

0 comments on commit 72b478a

Please sign in to comment.