-
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.
Add norminette and makefile compilation workflow files
- Loading branch information
Jean Teissier
authored and
Jean Teissier
committed
Aug 14, 2024
1 parent
388e800
commit 0b9025f
Showing
2 changed files
with
40 additions
and
0 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,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 |
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,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: '.' |