summaryrefslogtreecommitdiff
path: root/.github/workflows/cicd.yml
blob: 349bb0178124fc3e7294c8af0e4b23099a86c40f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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