Skip to content

Add test for core to ci #4

Add test for core to ci

Add test for core to ci #4

Workflow file for this run

name: core test
on:
push:
branches:
- main
pull_request:
paths:
- ".github/workflows/*.yml"
- "microcontroller/core/**"
jobs:
test_core:
name: Build and Test microcontroller/core
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
- 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
- name: Run c-runtime-test2
run: ./c-runtime-test2
- name: Build float-test
run: gcc -DTEST64 float-test.c -o float-test
- name: Run float-test
run: ./float-test