aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2025-03-09 14:02:54 -0400
committerIan Moffett <ian@osmora.org>2025-03-09 14:25:00 -0400
commit5d11f3a40b54f563c579121fa4f36a2510ce65a1 (patch)
tree867e5fca02d1415bfea09ee66a1eac5126161c3c
parentab65f0afebaeaeac1d456736221e648f33dd4fb2 (diff)
project: Add github workflows
Signed-off-by: Ian Moffett <ian@osmora.org>
-rw-r--r--.github/workflows/cicd.yml25
1 files changed, 25 insertions, 0 deletions
diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml
new file mode 100644
index 0000000..8dd116e
--- /dev/null
+++ b/.github/workflows/cicd.yml
@@ -0,0 +1,25 @@
+name: CI
+on:
+ push:
+ branches:
+ - main
+ - expt
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout repository
+ uses: actions/checkout@v2
+ - name: Update system
+ run: sudo apt-get update
+ - name: Install libs
+ run: sudo apt-get install -y flex bison libfl-dev
+ - name: Install tools
+ run: lld clang xorriso
+ run: sudo apt-get update && sudo apt-get install -y flex bison libfl-dev
+ - name: Bootstrap and configure
+ run: ./bootstrap && ./configure
+ - name: Build world with clang
+ run: make
+ - name: Test <arch>-hyra-gcc and binutils
+ run: make cross