-
Notifications
You must be signed in to change notification settings - Fork 2
45 lines (41 loc) · 1.11 KB
/
push_haskell.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
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