+ Update libft #42
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Makefile CI | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@main | |
- name: Get submodules | |
run: git submodule update --init --recursive | |
- name: Update apt | |
run: sudo apt-get update --fix-missing | |
- name: Install valgrind & tree | |
run: sudo apt-get install valgrind tree | |
- name: Install norminette | |
run: pip install norminette | |
- name: Run tree | |
run: tree | |
- name: Run norminette | |
run: norminette src include libft/src libft/include | |
- name: Make push_swap | |
run: make | |
- name: Re-make push_swap | |
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 |