Skip to content

Add test for core to ci #2

Add test for core to ci

Add test for core to ci #2

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 test-float
run: gcc -DTEST64 test-float.c -o test-float
- name: Run test-float
run: ./test-float