mirror of
https://github.com/capstone-engine/capstone.git
synced 2025-02-10 08:32:57 +00:00
add CI Test support
This commit is contained in:
parent
9963db3952
commit
204d13a09e
21
.github/workflows/CITest.yml
vendored
Normal file
21
.github/workflows/CITest.yml
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
name: Run Test
|
||||
on: [push, pull_request]
|
||||
env:
|
||||
CI: true
|
||||
jobs:
|
||||
tests:
|
||||
runs-on: ubuntu-20.04
|
||||
name: build_test on ubuntu 20.04
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: make
|
||||
shell: 'script -q -e -c "bash {0}"'
|
||||
run: |
|
||||
./make.sh
|
||||
make check
|
||||
sudo make install
|
||||
cp libcapstone.so.* bindings/python/libcapstone.so
|
||||
cd tests
|
||||
./test_all.sh
|
21
tests/test_all.sh
Normal file
21
tests/test_all.sh
Normal file
@ -0,0 +1,21 @@
|
||||
./test_arm
|
||||
./test_arm64
|
||||
./test_basic
|
||||
./test_bpf
|
||||
./test_customized_mnem
|
||||
./test_detail
|
||||
./test_evm
|
||||
./test_iter
|
||||
./test_m680x
|
||||
./test_m68k
|
||||
./test_mips
|
||||
./test_mos65xx
|
||||
./test_ppc
|
||||
./test_skipdata
|
||||
./test_sparc
|
||||
./test_systemz
|
||||
./test_tms320c64x
|
||||
./test_wasm
|
||||
./test_winkernel
|
||||
./test_x86
|
||||
./test_xcore
|
Loading…
x
Reference in New Issue
Block a user