From 632f8032bccbf75f53a70aa1ace5d5d1f1ebad33 Mon Sep 17 00:00:00 2001 From: ArthurSonzogni Date: Sat, 26 Apr 2025 00:05:25 +0200 Subject: [PATCH] Update workflow. --- .github/workflows/build.yaml | 19 +++++++------------ BUILD.bazel | 1 - bazel/ftxui.bzl | 2 +- 3 files changed, 8 insertions(+), 14 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 80c05095..23c78a3a 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -17,20 +17,19 @@ jobs: fail-fast: false matrix: include: - - name: Linux GCC - os: ubuntu-latest + - os: ubuntu-latest compiler: gcc - - name: Linux Clang - os: ubuntu-latest + - os: ubuntu-latest compiler: llvm - - name: MacOS clang - os: macos-latest + - os: macos-latest compiler: llvm - - name: Windows MSVC - os: windows-latest + - os: macos-latest + compiler: gcc + + - os: windows-latest compiler: cl runs-on: ${{ matrix.os }} @@ -46,10 +45,6 @@ jobs: - name: "Install Bazel" uses: bazel-contrib/setup-bazel@0.14.0 - - # Need on macos. See https://github.com/bazelbuild/bazel/issues/21718 - - name: Clean Bazel cache - run: bazel clean --expunge - name: "Build with Bazel" run: bazel build ... diff --git a/BUILD.bazel b/BUILD.bazel index 1c3ffa87..df97147a 100644 --- a/BUILD.bazel +++ b/BUILD.bazel @@ -237,7 +237,6 @@ cc_test( # - "src/ftxui/component/screen_interactive_test.cpp", # - "src/ftxui/dom/selection_test.cpp", ], - copts = ["-std=c++20"], includes = [ "include", "src", diff --git a/bazel/ftxui.bzl b/bazel/ftxui.bzl index 684841fc..0c2e5fc8 100644 --- a/bazel/ftxui.bzl +++ b/bazel/ftxui.bzl @@ -20,7 +20,7 @@ def ftxui_cc_library( "include", "src", ], - copts = ["-std=c++17"], + copts = ["-std=c++20"], visibility = ["//visibility:public"], )