Skip to content

Merge pull request #23 from maejima-fumika/add-jit #45

Merge pull request #23 from maejima-fumika/add-jit

Merge pull request #23 from maejima-fumika/add-jit #45

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