-
Notifications
You must be signed in to change notification settings - Fork 0
69 lines (47 loc) · 1.28 KB
/
makefile.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
name: Makefile CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Get valgrind
run: sudo apt-get install valgrind
- name: Get submodules
run: git submodule update --init --recursive
- name: Make program
run: make
- name: Re-make program
run: make re
- name: View Contents of Libft
run: nm -C libft/build/libft.a
- name: Test - 10 (No Arg)
run: ./tests/test_10.sh
- name: Test - 10
run: ./tests/test_10_1_arg.sh
- name: Test - 50 (No Arg)
run: ./tests/test_50.sh
- name: Test - 50
run: ./tests/test_50_1_arg.sh
- name: Test - 100 (No Arg)
run: ./tests/test_100.sh
- name: Test - 100
run: ./tests/test_100_1_arg.sh
- name: Re-Make program with debug
run: make re CFLAGS+=-DDEBUG_PRINT=1
- name: Test - 10 (No Arg)
run: ./tests/test_10.sh
- name: Test - 10
run: ./tests/test_10_1_arg.sh
- name: Test - 50 (No Arg)
run: ./tests/test_50.sh
- name: Test - 50
run: ./tests/test_50_1_arg.sh
- name: Test - 100 (No Arg)
run: ./tests/test_100.sh
- name: Test - 100
run: ./tests/test_100_1_arg.sh