[gccjit] fix build problems on llvm-18 and add github actions #1
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 | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install build tools and libraries | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y gcc-14 g++-14 cmake ninja-build llvm-18-dev libmlir-18-dev libgccjit-14-dev | |
- name: Build | |
run: | | |
cmake -B build -G Ninja -DCMAKE_C_COMPILER=gcc-14 -DCMAKE_CXX_COMPILER=g++-14 . | |
cmake --build build |