Add TCC workflows to CI

This commit is contained in:
Saúl Ibarra Corretgé 2024-03-12 09:56:49 +01:00
parent 473bd1d531
commit 50dcc707e0

View file

@ -208,6 +208,31 @@ jobs:
UBSAN_OPTIONS: halt_on_error=1 UBSAN_OPTIONS: halt_on_error=1
run: | run: |
time make test262 time make test262
linux-tcc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: install TCC
run: |
pushd /tmp
git clone --depth 1 https://repo.or.cz/tinycc.git
cd tinycc
git checkout 9d2068c6309dc50dfdbbc30a5d6757683d3f884c
./configure
make
sudo make install
tcc -v
popd
- name: build
env:
CC: tcc
run: |
make
- name: stats
run: |
make stats
macos: macos:
runs-on: macos-latest runs-on: macos-latest