Skip to content

Commit

Permalink
break the build
Browse files Browse the repository at this point in the history
  • Loading branch information
Be-ing committed Jan 30, 2024
1 parent 66dfb5b commit f229137
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/github-cxx-qt-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions crates/cxx-qt-build/src/broken.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
3yumj{!,,,,,
1 change: 1 addition & 0 deletions crates/cxx-qt-build/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit f229137

Please sign in to comment.