Skip to content

Commit

Permalink
Test LLVM 19
Browse files Browse the repository at this point in the history
  • Loading branch information
stuxnot committed Nov 1, 2024
1 parent 31a0104 commit 85f4e0b
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
21 changes: 21 additions & 0 deletions .github/workflows/cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,3 +124,24 @@ jobs:
run: |
./nyxstone "mov rax, rbx"
./nyxstone "jmp label" --labels "label=0x1000"
mac-llvm-19:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Packages
run: brew install llvm@19
- name: Build
run: |
mkdir build
cd build
NYXSTONE_LLVM_PREFIX="$(brew --prefix llvm@19)" cmake ..
make
- name: Test
working-directory: build/
run: make test
- name: cli
working-directory: build/
run: |
./nyxstone "mov rax, rbx"
./nyxstone "jmp label" --labels "label=0x1000"
2 changes: 1 addition & 1 deletion cmake/FindLLVM-Wrapper.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ if(LLVM-Wrapper_FIND_REQUIRED)
list(APPEND FIND_ARGS "REQUIRED")
endif()

set(ALLOWED_LLVM_VERSIONS 15 16 17 18.0 18.1)
set(ALLOWED_LLVM_VERSIONS 15 16 17 18.0 18.1 19)

# Find LLVM
foreach(VERSION ${ALLOWED_LLVM_VERSIONS})
Expand Down

0 comments on commit 85f4e0b

Please sign in to comment.