Skip to content

hls-test-suite: Improved building of tests #18

hls-test-suite: Improved building of tests

hls-test-suite: Improved building of tests #18

Workflow file for this run

name: Tests
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
polybench:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: "Install LLVM and Clang"
uses: ./.github/actions/InstallLlvmDependencies
- name: Update jlm submodule
run: git submodule update --init jlm/
- name: Checkout master of jlm
run: cd jlm && git checkout master
- name: Compile jlm
run: make jlm-release -j `nproc`
- name: Update polybench submodule
run: git submodule update --init polybench/
- 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
steps:
- uses: actions/checkout@v3
- name: "Install LLVM and Clang"
uses: ./.github/actions/InstallLlvmDependencies
- name: Update jlm submodule
run: git submodule update --init jlm/
- name: Checkout master of jlm
run: cd jlm && git checkout master
- name: Compile jlm
run: make jlm-release -j `nproc`
- name: Update llvm-test-suite submodule
run: git submodule update --init llvm-test-suite/llvm-test-suite.git
- 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