forked from radareorg/radare2
-
Notifications
You must be signed in to change notification settings - Fork 0
55 lines (49 loc) · 1.23 KB
/
tcc.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
name: tcc
on:
push:
branches:
- master
pull_request:
jobs:
build:
name: ubuntu-tcc-test
runs-on: ubuntu-latest
steps:
- name: Checkout TinyCC repository
run: |
git clone https://repo.or.cz/tinycc.git
cd tinycc
git checkout mob
- name: Compiling and installing TinyCC
working-directory: tinycc
run: |
sh ./configure --prefix=/usr
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: Install dependencies
run: |
sudo apt-get --assume-yes install gperf wheel setuptools || true
sudo python -m pip install --upgrade pip
pip install r2pipe
- 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