reduce alloc size #204
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: Debian (tcc) | |
on: | |
push: | |
branches: | |
- "**" | |
pull_request: | |
branches: | |
- "**" | |
workflow_dispatch: | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
if: "!contains(github.event.head_commit.message, '[skip ci]')" | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Aquire dependencies and compile | |
shell: bash | |
run: | | |
sudo apt install tcc -y | |
cd $GITHUB_WORKSPACE | |
make CC=tcc | |
- name: Run test script | |
shell: bash | |
run: | | |
cd $GITHUB_WORKSPACE | |
make test -j8 | |
- name: Upload test output | |
if: failure() | |
uses: actions/upload-artifact@v2 | |
with: | |
name: tests-debian-tcc | |
path: tests/*.* |