Skip to content

Commit

Permalink
DEBUG: add a error trap to system Targets.def file
Browse files Browse the repository at this point in the history
Signed-off-by: Marcello Sylvester Bauer <[email protected]>
  • Loading branch information
sylv-io committed Oct 16, 2024
1 parent 5311787 commit 3c34f66
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/nix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,12 @@ jobs:
nix-test:
runs-on: ubuntu-latest
steps:
- name: Uninstall system LLVM packages
- name: Uninstall system LLVM packages exept LLVM 18
run: |
sudo apt remove llvm-16 llvm-17 llvm-18 -y
sudo apt remove llvm-16 llvm-17 -y
- name: Trap Target.def header
run: |
sudo echo '#error("nope")' | sudo tee /usr/include/llvm-18/llvm/Config/Targets.def
- name: Checkout
uses: actions/checkout@v4
- name: Pull musl
Expand Down

0 comments on commit 3c34f66

Please sign in to comment.