Update #138
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: [ "dev" ] | |
pull_request: | |
branches: [ "dev" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Get submodules | |
run: git submodule update --init --recursive | |
- name: Update apt | |
run: sudo apt-get update --fix-missing | |
- name: Install valgrind, libbsd & tree | |
run: sudo apt-get install valgrind libbsd-dev tree | |
- name: Install norminette | |
run: pip install norminette | |
- name: Run tree | |
run: tree | |
- name: Run norminette | |
run: norminette src include | |
- name: Make program | |
run: make | |
- name: Re-make program | |
run: make re | |
- name: View Contents of Libft | |
run: nm -C build/libft.a | |
- name: Run Tests | |
run: make test |