Revert previous change and use Ubuntu 23.04. #412
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
env: | |
LLVM_RELEASE: 18 | |
jobs: | |
CI-LLVM-nightly: | |
runs-on: ubuntu-23.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 $LLVM_RELEASE | |
- run: apt-get install -y bolt-$LLVM_RELEASE clang-$LLVM_RELEASE libclang-common-$LLVM_RELEASE-dev libclang-$LLVM_RELEASE-dev mlir-$LLVM_RELEASE-tools \ | |
llvm-$LLVM_RELEASE-tools libclang-common-$LLVM_RELEASE-dev libclang-$LLVM_RELEASE-dev libclang1-$LLVM_RELEASE clang-format-$LLVM_RELEASE \ | |
python3-clang-$LLVM_RELEASE clangd-$LLVM_RELEASE clang-tidy-$LLVM_RELEASE libomp-$LLVM_RELEASE-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 |