Skip to content

Commit

Permalink
Add norminette and makefile compilation workflow files
Browse files Browse the repository at this point in the history
  • Loading branch information
Jean Teissier authored and Jean Teissier committed Aug 14, 2024
1 parent 388e800 commit 0b9025f
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/check_makefile.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Compilation Makefile

on: [push]

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y software-properties-common
sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
sudo apt-get update
sudo apt-get install -y gcc-10 g++-10 libreadline-dev
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-10 10
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-10 10
- name: Verify GCC version
run: gcc --version

- name: Run Makefile
run: make all
13 changes: 13 additions & 0 deletions .github/workflows/norminette.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: 42 Norminette

on: [push]

jobs:
norminette_job:
runs-on: ubuntu-latest
name: norminette
steps:
- uses: actions/checkout@v2
- uses: alexandregv/[email protected]
with:
flags: '.'

0 comments on commit 0b9025f

Please sign in to comment.