summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2025-10-02 21:49:52 -0400
committerIan Moffett <ian@osmora.org>2025-10-02 21:52:20 -0400
commit21e2714d90fdfc853159bd08368bb350dc9388e1 (patch)
tree6fefaaab1511dc5cf5ef93b3c04dfe648686aabd /.github
parent3bfeff510fefc2e833d7f87af14ca274d6936352 (diff)
cicd: Add .github/ CI/CD
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/cicd.yml24
1 files changed, 24 insertions, 0 deletions
diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml
new file mode 100644
index 0000000..c0744e1
--- /dev/null
+++ b/.github/workflows/cicd.yml
@@ -0,0 +1,24 @@
+name: CI on-push
+on:
+ push:
+ branches:
+ - main
+ - dev
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout repository
+ uses: actions/checkout@v2
+ - name: Update system
+ run: sudo apt-get update
+ - name: Export envs
+ run: export TERM="headless"
+ - name: Install libs
+ run: sudo apt-get install -y flex bison libfl-dev libmpc-dev
+ - name: Install tools
+ run: sudo apt-get install -y lld clang xorriso mtools
+ - name: Bootstrap project
+ run: cd src/; tools/bootstrap
+ - name: Build system
+ run: cd src/; make