patternDetect: add pattern detect for (1<<shift)&1 and (expr & 1) #54
This file contains hidden or 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: | |
| branches: [ v1-dev, master ] | |
| pull_request: | |
| branches: [ v1-dev, master ] | |
| jobs: | |
| build_rocket: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Check out code | |
| uses: actions/checkout@v2 | |
| - uses: actions/setup-python@v2 | |
| with: | |
| python-version: 3.x | |
| - name: Install dependencies | |
| run: | | |
| sudo apt install -y clang llvm doxygen flex bison libfl-dev ccache | |
| - name: Untar linux.bin | |
| run: | | |
| cd ready-to-run/bin && tar xvjf linux.tar.bz2 | |
| - name: Compile | |
| run: | | |
| make compile dutName=rocket -j `nproc` | |
| - name: Build EMU | |
| run: | | |
| make difftest MODE=0 dutName=rocket -j `nproc` |