summaryrefslogtreecommitdiff
path: root/.github/workflows/cicd.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/cicd.yml')
-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..ad6d236
--- /dev/null
+++ b/.github/workflows/cicd.yml
@@ -0,0 +1,24 @@
+name: CI on-push
+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: Export envs
+ run: export TERM="headless"
+ - name: Install libs
+ run: sudo apt-get install -y flex bison libfl-dev
+ - name: Install tools
+ run: sudo apt-get install -y lld clang xorriso
+ - name: Bootstrap and configure
+ run: ./bootstrap && ./configure
+ - name: Build world with clang
+ run: make