summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/cicd.yml28
1 files changed, 28 insertions, 0 deletions
diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml
new file mode 100644
index 0000000..349bb01
--- /dev/null
+++ b/.github/workflows/cicd.yml
@@ -0,0 +1,28 @@
+name: CI on-push
+on:
+ push:
+ branches:
+ - master
+ - 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 nasm
+ - name: Bootstrap project
+ run: ./bootstrap
+ - name: Configure project
+ run: ./configure
+ - name: Build toolchain
+ run: make toolchain
+ - name: Build system
+ run: make