Skip to content

Commit

Permalink
Created a simple compilation CI action for Linux.
Browse files Browse the repository at this point in the history
  • Loading branch information
Goubermouche authored Dec 17, 2023
1 parent c0bb860 commit 76dd77b
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Compile

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Install Premake
run: |
wget https://github.com/premake/premake-core/releases/download/v5.0.0-alpha16/premake-5.0.0-alpha16-linux.tar.gz
tar -xzvf premake-5.0.0-alpha16-linux.tar.gz
sudo mv premake5 /usr/local/bin/
- name: Run Premake
run: premake5 gmake

- name: Compile Project
run: make config=debug

0 comments on commit 76dd77b

Please sign in to comment.