Merge pull request #25 from chibash/transpiler #48
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: 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 -DTEST64 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 -DTEST64 c-runtime-test2.c -o c-runtime-test2 -lm | |
- name: Run c-runtime-test2 | |
run: ./c-runtime-test2 | |
- name: Build float-test | |
run: gcc -DTEST64 float-test.c -o float-test -lm | |
- name: Run float-test | |
run: ./float-test | |
- name: Build profiler-test | |
run: gcc -DTEST64 profiler-test.c -o profiler-test -lm | |
- name: Run profiler-test | |
run: ./profiler-test |