:: commit 0e9bb2dab3948610026f8b51171787dedadb7d4f

mintsuki <mintsuki@protonmail.com> — 2021-09-29 15:41

parents: 34cfd0e55b

gh: Add workflow to test for compilation failures

diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml
new file mode 100644
index 00000000..87c980ad
--- /dev/null
+++ b/.github/workflows/check.yml
@@ -0,0 +1,15 @@
+name: Check for compilation failures
+
+on: [push, pull_request]
+
+jobs:
+  build:
+    name: Check for compilation failures
+    runs-on: ubuntu-20.04
+
+    steps:
+      - name: Install dependencies
+        run: sudo apt-get update && sudo apt-get install git build-essential nasm curl mtools -y
+
+      - name: Build the bootloader
+        run: make all
diff --git a/.github/workflows/main.yml b/.github/workflows/release.yml
similarity index 99%
rename from .github/workflows/main.yml
rename to .github/workflows/release.yml
index f958a7a0..6dc23d5b 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/release.yml
@@ -1,4 +1,4 @@
-name: Limine
+name: Release
 
 on:
   push:
tab: 248 wrap: offon