Skip to content

Sync with phate

Sync with phate #2

Workflow file for this run

name: Tests
on:
pull_request:
branches: [ main ]
env:
JLM_ROOT_DIR: /tmp/jlm
jobs:
hls-test-suite:
runs-on: ubuntu-22.04
if: contains(github.event.pull_request.title, '[DisableCI]') == false
steps:
- uses: actions/checkout@v4
- name: "Install packages"
uses: ./.github/actions/InstallPackages
with:
llvm-version: 18
- name: "Clone jlm"
run: git clone https://github.com/phate/jlm.git $JLM_ROOT_DIR
shell: bash
- name: "Build CIRCT and configure and build jlm"
run: |
cd $JLM_ROOT_DIR && \
./scripts/build-circt.sh && \
./configure.sh --enable-hls --target release --enable-asserts CXX=clang++ && \
make -j `nproc` -O all
shell: bash
- name: "Add executables to PATH"
run: |
echo "${JLM_ROOT_DIR}/build" >> $GITHUB_PATH && \
echo "${JLM_ROOT_DIR}/usr/bin" >> $GITHUB_PATH
shell: bash
- name: "Run HLS test suite"
run: make -j `nproc` -O run
shell: bash