Merge pull request #23 from antoyo/fix/ggc-bug-for-lto #198
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: CI | |
on: | |
- push | |
- pull_request | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install mpfr | |
run: sudo apt-get install gcc-10 libmpfr-dev libmpc-dev | |
- name: Build libgccjit | |
run: | | |
cd .. | |
ls | |
mkdir build install | |
cd build | |
../gcc/configure --enable-host-shared --enable-languages=jit,c++ --disable-bootstrap --disable-multilib --prefix=$(pwd)/../install | |
make -j4 | |
- uses: actions/upload-artifact@v2 | |
with: | |
name: libgccjit.so | |
path: /home/runner/work/gcc/build/gcc/libgccjit.so |