Skip to content

Build LLVM nightly #348

Build LLVM nightly

Build LLVM nightly #348

name: Build LLVM nightly
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
schedule:
- cron: '0 3 * * *'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
CI-LLVM-nightly:
runs-on: ubuntu-22.04
container:
image: ubuntu:rolling
steps:
- run: apt-get update
- run: apt-get -qq install -y gcc g++ wget lsb-release wget software-properties-common gnupg git cmake flex python3-pebble python3-psutil python3-chardet python3-pytest vim unifdef
- run: wget https://apt.llvm.org/llvm.sh
- run: chmod +x llvm.sh
- run: ./llvm.sh 17
- run: apt-get install -y bolt-17 clang-17 libclang-common-17-dev libclang-17-dev mlir-17-tools llvm-17-tools libclang-common-17-dev libclang-17-dev libclang1-17 clang-format-17 python3-clang-17 clangd-17 clang-tidy-17 libomp-17-dev
- uses: actions/checkout@v3
- run: mkdir objdir
- run: cmake ..
working-directory: objdir
- run: make -j`nproc` VERBOSE=1
working-directory: objdir
- run: pytest
working-directory: objdir