Skip to content

[Enhancement] Support multiple expected outputs in the test program (… #22

[Enhancement] Support multiple expected outputs in the test program (…

[Enhancement] Support multiple expected outputs in the test program (… #22

Workflow file for this run

name: Test for Haskell implementations
on:
push:
branches: [main]
jobs:
test:
name: Run test
runs-on: ubuntu-22.04
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
- name: Build object program
run: ghc btn.hs
working-directory: ./btn/haskell
- name: Build host program
run: ./test_maker .test/btn.test
- name: Run test
run: ./test ../btn/haskell/btn
timeout-minutes: 5
- name: Build object program
run: ghc hd.hs
working-directory: ./hd/haskell
- name: Build host program
run: ./test_maker .test/hd.test
- name: Run test
run: ./test ../hd/haskell/hd
timeout-minutes: 5
- name: Build object program
run: ghc nsy.hs
working-directory: ./nsy/haskell
- name: Build host program
run: ./test_maker .test/nsy.test
- name: Run test
run: ./test ../nsy/haskell/nsy
timeout-minutes: 5