summaryrefslogtreecommitdiff
path: root/.github/workflows/cicd.yml
blob: 8dd116ef5c6514b7fac23f797d51c1e7a87f7bab (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
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