Enable V testsuite on GitHub CI (#15796)

* Enable V testsuite on GitHub CI
This commit is contained in:
Anton Kochkov 2020-01-20 21:03:36 +08:00 committed by GitHub
parent c01a491bd2
commit d98c43450f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,15 +14,24 @@ jobs:
strategy:
matrix:
node_version: ['12']
os: [ubuntu-latest, macOS-latest]
os: [ubuntu-latest, macos-latest]
steps:
- uses: actions/checkout@v1
- name: configure
run: ./configure
- name: make
- name: Install pkg-config with Homebrew
if: matrix.os == 'macos-latest'
run: brew install pkg-config
- name: Configure with ACR
run: ./configure --prefix=${HOME}
- name: Build
run: make
# Disabled until NodeJS/r2pipe.js problems are solved
#- name: make tests
# run: make tests
- name: Install and run tests
run: |
# Install the radare2
export PATH=${HOME}/install/bin:${PATH}
export LD_LIBRARY_PATH=${HOME}/install/lib:${HOME}/install/lib64:${LD_LIBRARY_PATH}
export PKG_CONFIG_PATH=${HOME}/lib/pkgconfig:${PKG_CONFIG_PATH}
make install
# Running the new V suite
cd test && make src/r2r