Dev/transpiler #130
Workflow file for this run
This file contains hidden or 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: microcontroller core | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| paths: | |
| - ".github/workflows/*.yml" | |
| - "microcontroller/core/**" | |
| jobs: | |
| build_and_test: | |
| name: Build and Test | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: ./microcontroller/core/test/ | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Build c-runtime-test | |
| run: gcc -DLINUX64 c-runtime-test.c -o c-runtime-test -lm | |
| - name: Run c-runtime-test | |
| run: ./c-runtime-test | |
| - name: Build c-runtime-test2 | |
| run: gcc -DLINUX64 c-runtime-test2.c -o c-runtime-test2 -lm | |
| - name: Run c-runtime-test2 | |
| run: ./c-runtime-test2 | |
| - name: Build float-test | |
| run: gcc -DLINUX64 float-test.c -o float-test -lm | |
| - name: Run float-test | |
| run: ./float-test | |
| - name: Build profiler-test | |
| run: gcc -DLINUX64 profiler-test.c -o profiler-test -lm | |
| - name: Run profiler-test | |
| run: ./profiler-test |