fix(transform): fix some transform bug detected by csmith #162
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: linux | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
env: | |
BUILD_TYPE: Release | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
lfs: true | |
- name: Env | |
run: sudo apt install spim ninja-build # llvm-15-dev gcc-11-riscv64-linux-gnu g++-11-riscv64-linux-gnu gcc-10-mipsel-linux-gnu g++-10-mipsel-linux-gnu | |
- name: Format | |
run: make format-check | |
# - uses: actions/checkout@v3 | |
# with: | |
# repository: dtcxzyw/qemu | |
# path: ${{github.workspace}}/qemu | |
# - name: Build qemu | |
# run: | | |
# cd qemu | |
# ./configure --target-list=riscv64-linux-user,mipsel-linux-user,arm-linux-user --enable-plugins | |
# make -j | |
# echo "QEMU_PATH=$(pwd)/build" >> $GITHUB_ENV | |
- name: Build | |
run: | | |
mkdir build && cd build | |
cmake .. -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMMC_LLVM_SUPPORT=OFF | |
cmake --build . -j | |
- name: Test | |
run: cd build && ctest --verbose |