mirror of
https://github.com/radareorg/radare.git
synced 2026-11-07 06:36:03 -10:00
63 lines
1.3 KiB
YAML
63 lines
1.3 KiB
YAML
name: ci
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
pull_request:
|
|
|
|
jobs:
|
|
gcc:
|
|
name: gcc
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
- name: Configure, build and install
|
|
run: |
|
|
./configure --prefix=/usr
|
|
make -j
|
|
sudo make install
|
|
- name: Test
|
|
run: radare -h
|
|
tcc:
|
|
name: tcc
|
|
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 560526a49dfffef118bcb7fba83c727639ec0a1d
|
|
- name: Compiling and installing TinyCC
|
|
working-directory: tinycc
|
|
run: |
|
|
sh ./configure --prefix=/usr
|
|
make -j
|
|
sudo make install
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
- name: Configure, build and install
|
|
env:
|
|
CC: tcc
|
|
run: |
|
|
./configure --prefix=/usr --with-compiler=tcc
|
|
make -j
|
|
sudo make install
|
|
- name: Test
|
|
run: radare -h
|
|
macos:
|
|
name: macos
|
|
runs-on: macos-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
- name: Configure, build and install
|
|
run: |
|
|
./configure
|
|
make -j
|
|
sudo make install
|
|
- name: Test
|
|
run: radare -h
|