aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-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