Skip to content

Allow all LLVM versions >= 15 and support dynamic linking #155

Allow all LLVM versions >= 15 and support dynamic linking

Allow all LLVM versions >= 15 and support dynamic linking #155

Workflow file for this run

name: C++
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Packages
run: |
sudo apt-get update
sudo apt-get install libllvm18 zlib1g-dev libzstd-dev libboost-program-options-dev cppcheck clang-tidy clang-format
- name: Code quality - fmt
run: ./tool/format.sh check
- name: Code quality - cppcheck
run: ./tool/static-analysis-cppcheck.sh
- name: Code quality - clang-tidy
run: ./tool/static-analysis-tidy.sh
- name: Build
run: |
mkdir build/
cd build
cmake ..
make
- name: Test
run: make test
working-directory: build/
- name: cli
run: |
./nyxstone -A "mov rax, rbx"
./nyxstone -A "jmp label" --labels "label=0x1000"
working-directory: build/