macos install and more build fixes #11
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |