Skip to content

make & CI & CIRCT: Adapted to jlm build system #11

make & CI & CIRCT: Adapted to jlm build system

make & CI & CIRCT: Adapted to jlm build system #11

Workflow file for this run

name: Tests
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build-jlm:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Cache build
id: cache-build
uses: actions/cache@v3
with:
path: ${{ github.workspace }}/*
key: ${{ runner.os }}-${{ github.sha }}-jlm
- name: "Update jlm submodule"
run: git submodule update --init jlm/
- name: "Build CIRCT"
uses: ./.github/actions/BuildCirct
- name: "Configure jlm"
run: make jlm-configure-release
- name: "Compile jlm"
run: make jlm-build
polybench:
runs-on: ubuntu-22.04
needs: build-jlm
steps:
- name: "Cache"
uses: actions/cache@v3
with:
path: ${{ github.workspace }}/*
key: ${{ runner.os }}-${{ github.sha }}-jlm
- name: "Checkout master of polybench"
run: cd polybench && git checkout master
- name: "Check polybench"
run: make polybench-check -j `nproc`
llvm-test-suite:
runs-on: ubuntu-22.04
needs: build-jlm
steps:
- name: "Cache"
uses: actions/cache@v3
with:
path: ${{ github.workspace }}/*
key: ${{ runner.os }}-${{ github.sha }}-jlm
- name: "Install lit"
run: make install-lit
- name: "Apply patch"
run: make apply-llvm-git-patch
- name: "Run llvm-test-suite"
run: make llvm-run-opt
hls-test-suite:
runs-on: ubuntu-22.04
needs: build-jlm
steps:
- name: "Cache"
uses: actions/cache@v3
with:
path: ${{ github.workspace }}/*
key: ${{ runner.os }}-${{ github.sha }}-jlm
- name: "Run HLS test suite"
run: make hls-test-run