Skip to content

Commit

Permalink
ci"
Browse files Browse the repository at this point in the history
gst
  • Loading branch information
ggjulio committed Nov 2, 2021
1 parent d324ffd commit 41132cd
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,12 @@ jobs:
# :
# fi
- run: npm install
- run: make jest-sanitize
- run: make sanitize
- name: npm test
run: |
./webserv &
npm test
pkill webserv
# - run: make
# - name: npm test
# run: |
Expand Down
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,9 @@ jest: $(NAME)
@-npm test && true
@pkill webserv

sanitize: CXXFLAGS += -fsanitize=address,leak,undefined -fstack-protector
sanitize: $(NAME)

jest-sanitize: CXXFLAGS += -fsanitize=address,leak,undefined -fstack-protector
jest-sanitize: $(NAME)
@./webserv &
Expand Down

0 comments on commit 41132cd

Please sign in to comment.