diff --git a/.github/workflows/CITest.yml b/.github/workflows/CITest.yml new file mode 100644 index 0000000000..1d2c6dd7f6 --- /dev/null +++ b/.github/workflows/CITest.yml @@ -0,0 +1,22 @@ +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 + chmod +x ./test_all.sh + ./test_all.sh \ No newline at end of file diff --git a/tests/test_all.sh b/tests/test_all.sh new file mode 100644 index 0000000000..7145c1c4b4 --- /dev/null +++ b/tests/test_all.sh @@ -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 \ No newline at end of file