Skip to content
This repository has been archived by the owner on Jun 19, 2024. It is now read-only.

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
이경준 authored Mar 5, 2024
1 parent 11c46eb commit 420d8d0
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,20 @@ on:
- main
jobs:
check_42_norm:
runs-on: kyungjle-hosted
runs-on: ubuntu-latest
steps:
- name: install 42 norminette
run: |
sudo apt update
sudp apt install python3 -y
python3 -m pip install --upgrade pip setuptools
python3 -m pip install --upgrade norminette
- name: check for compilation errors
run: for f in $(find . -name \*.c); do gcc -Wall -Wextra -Werror -fsyntax-only $f; done
run: |
sudo apt update
sudo apt install build-essentials -y
for f in $(find . -name \*.c); do gcc -Wall -Wextra -Werror -fsyntax-only $f; done
- name: check for 42 norminette requirements
run: norminette .

0 comments on commit 420d8d0

Please sign in to comment.