mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-24 05:40:10 +00:00
Run the tests for non-debugger builds ##ci
This commit is contained in:
parent
d479933909
commit
07c4f96824
40
.github/workflows/tcc.yml
vendored
40
.github/workflows/tcc.yml
vendored
@ -54,3 +54,43 @@ jobs:
|
|||||||
export R2R_SKIP_ASM=1
|
export R2R_SKIP_ASM=1
|
||||||
export R2R_SKIP_ARCHOS=1
|
export R2R_SKIP_ARCHOS=1
|
||||||
make -C test
|
make -C test
|
||||||
|
nodbg:
|
||||||
|
name: ubuntu-tcc-nodbg
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout TinyCC repository
|
||||||
|
run: |
|
||||||
|
git clone https://github.com/mirror/tinycc.git
|
||||||
|
cd tinycc && git checkout mob
|
||||||
|
git reset --hard 917aad3bcfbb534875aa6d66609bdb36459460a4
|
||||||
|
sudo apt-get --assume-yes install gperf wheel setuptools || true
|
||||||
|
sudo python -m pip install --upgrade pip
|
||||||
|
pip install r2pipe
|
||||||
|
- name: Compiling and installing TinyCC
|
||||||
|
working-directory: tinycc
|
||||||
|
run: |
|
||||||
|
sh ./configure --prefix=/usr --without-debugger
|
||||||
|
make && sudo make install
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Checkout our Testsuite Binaries
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
repository: radareorg/radare2-testbins
|
||||||
|
path: test/bins
|
||||||
|
- name: Configure, build and install
|
||||||
|
env:
|
||||||
|
CC: tcc
|
||||||
|
run: |
|
||||||
|
./configure --prefix=/usr --with-compiler=tcc
|
||||||
|
make
|
||||||
|
sudo make install
|
||||||
|
|
||||||
|
- name: Run tests
|
||||||
|
env:
|
||||||
|
PKG_CONFIG_PATH: /usr/lib/x86_64-linux-gnu/pkgconfig
|
||||||
|
run: |
|
||||||
|
r2 -v
|
||||||
|
r2r -v
|
||||||
|
export R2R_SKIP_ASM=1
|
||||||
|
export R2R_SKIP_ARCHOS=1
|
||||||
|
make -C test
|
||||||
|
Loading…
Reference in New Issue
Block a user