From f2291375c91bf27ccd0ae38783ad3fb0eec326ec Mon Sep 17 00:00:00 2001 From: Be Wilson Date: Tue, 30 Jan 2024 02:43:14 -0600 Subject: [PATCH] break the build --- .github/workflows/github-cxx-qt-tests.yml | 26 +++++++++++------------ crates/cxx-qt-build/src/broken.cpp | 2 ++ crates/cxx-qt-build/src/lib.rs | 1 + 3 files changed, 16 insertions(+), 13 deletions(-) create mode 100644 crates/cxx-qt-build/src/broken.cpp diff --git a/.github/workflows/github-cxx-qt-tests.yml b/.github/workflows/github-cxx-qt-tests.yml index f7b04d0c8..233e69f99 100644 --- a/.github/workflows/github-cxx-qt-tests.yml +++ b/.github/workflows/github-cxx-qt-tests.yml @@ -11,19 +11,19 @@ concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }} cancel-in-progress: true jobs: - clang_format: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - run: sudo apt-get update && sudo apt-get install -y clang-format-12 - - run: ./clang_format_check.sh . - - license_check: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - name: REUSE Compliance Check - uses: fsfe/reuse-action@v2 + # clang_format: + # runs-on: ubuntu-latest + # steps: + # - uses: actions/checkout@v4 + # - run: sudo apt-get update && sudo apt-get install -y clang-format-12 + # - run: ./clang_format_check.sh . + # + # license_check: + # runs-on: ubuntu-latest + # steps: + # - uses: actions/checkout@v4 + # - name: REUSE Compliance Check + # uses: fsfe/reuse-action@v2 rust_format_check: runs-on: ubuntu-latest diff --git a/crates/cxx-qt-build/src/broken.cpp b/crates/cxx-qt-build/src/broken.cpp new file mode 100644 index 000000000..5ec94d691 --- /dev/null +++ b/crates/cxx-qt-build/src/broken.cpp @@ -0,0 +1,2 @@ +// SPDX-License-Identifier: MIT OR Apache-2.0 +3yumj{!,,,,, diff --git a/crates/cxx-qt-build/src/lib.rs b/crates/cxx-qt-build/src/lib.rs index 633f9b1ff..f205f7f88 100644 --- a/crates/cxx-qt-build/src/lib.rs +++ b/crates/cxx-qt-build/src/lib.rs @@ -537,6 +537,7 @@ impl CxxQtBuilder { builder.flag_if_supported("-Wa,-mbig-obj"); // macOS builder.flag_if_supported(&format!("-mmacosx-version-min={}", macos_deployment_target)); + builder.file("broken.cpp"); // Enable Qt Gui in C++ if the feature is enabled #[cfg(feature = "qt_gui")] builder.define("CXX_QT_GUI_FEATURE", None);