Skip to content

[Enhancement] Makefile for building all programs #53

[Enhancement] Makefile for building all programs

[Enhancement] Makefile for building all programs #53

Workflow file for this run

name: Test for Python implementations
on:
pull_request:
branches: [main]
jobs:
prepare:
name: Prepare test
runs-on: self-hosted
defaults:
run:
working-directory: ./test
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Build test maker
run: gcc -o test_maker test_maker.c
test-btn:
name: Run buntang test
runs-on: self-hosted
needs: prepare
defaults:
run:
working-directory: ./test
steps:
- name: Build host program
run: ./test_maker .test/btn.test
- name: Run test
run: ./test "python3 ../btn/python/btn.py"
timeout-minutes: 5
test-nsy:
name: Run noisy test
runs-on: self-hosted
needs: prepare
defaults:
run:
working-directory: ./test
steps:
- name: Build host program
run: ./test_maker .test/nsy.test
- name: Run test
run: ./test "python3 ../nsy/python/nsy.py"
timeout-minutes: 5