From d98c43450f2b75e8c3952610e37ea12b0da1472e Mon Sep 17 00:00:00 2001 From: Anton Kochkov Date: Mon, 20 Jan 2020 21:03:36 +0800 Subject: [PATCH] Enable V testsuite on GitHub CI (#15796) * Enable V testsuite on GitHub CI --- .github/workflows/ccpp.yml | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml index 0a4a21e5b8..2ba359bc64 100644 --- a/.github/workflows/ccpp.yml +++ b/.github/workflows/ccpp.yml @@ -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