-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
33 additions
and
23 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
cd .github; | ||
curl -sLO https://github.com/42School/norminette/archive/refs/heads/master.zip; | ||
rm -rf norminette-master; | ||
unzip master.zip; | ||
rm master.zip; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,31 @@ | ||
name: C CI | ||
|
||
on: | ||
push: | ||
branches: [ "main", "ultimate-chaaaaaaanges" ] | ||
pull_request: | ||
branches: [ "main" ] | ||
on: [push, pull_request] | ||
|
||
jobs: | ||
build: | ||
norminette_job: | ||
runs-on: ubuntu-latest | ||
name: norminette | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: alexandregv/norminette-action@v3 | ||
with: | ||
flags: '.' | ||
norme: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: install norminette | ||
run: bash .github/norme-install.sh | ||
- name: run test | ||
run: norminette.sh | ||
tests: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
#- name: configure | ||
# run: ./configure | ||
- run: make | ||
- run: make test | ||
#- name: make check | ||
# run: make check | ||
#- name: make distcheck | ||
# run: make distcheck | ||
test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: blank-test | ||
run: make test | ||
- name: mpanic | ||
run: make panic | ||
- name: build | ||
run: make | ||
- name: blank test | ||
run: make test | ||
- name: mpanic test | ||
run: make panic |
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