|
| 1 | +name: SMACK CI |
| 2 | + |
| 3 | +on: [push, pull_request] |
| 4 | + |
| 5 | +jobs: |
| 6 | + check-regressions: |
| 7 | + env: |
| 8 | + COMPILER_NAME: clang |
| 9 | + COMPILER: clang++ |
| 10 | + CXX: clang++ |
| 11 | + CC: clang |
| 12 | + runs-on: ubuntu-20.04 |
| 13 | + strategy: |
| 14 | + matrix: |
| 15 | + travis_env: |
| 16 | + [ |
| 17 | + "--exhaustive --folder=c/basic", |
| 18 | + "--exhaustive --folder=c/data", |
| 19 | + "--exhaustive --folder=c/ntdrivers-simplified", |
| 20 | + "--exhaustive --folder=c/ntdrivers", |
| 21 | + "--exhaustive --folder=c/bits", |
| 22 | + "--exhaustive --folder=c/float", |
| 23 | + "--exhaustive --folder=c/locks", |
| 24 | + "--exhaustive --folder=c/contracts", |
| 25 | + "--exhaustive --folder=c/simd", |
| 26 | + "--exhaustive --folder=c/memory-safety", |
| 27 | + "--exhaustive --folder=c/pthread", |
| 28 | + "--exhaustive --folder=c/pthread_extras", |
| 29 | + "--exhaustive --folder=c/strings", |
| 30 | + "--exhaustive --folder=c/special", |
| 31 | + "--exhaustive --folder=rust/array --languages=rust", |
| 32 | + "--exhaustive --folder=rust/basic --languages=rust", |
| 33 | + "--exhaustive --folder=rust/box --languages=rust", |
| 34 | + "--exhaustive --folder=rust/functions --languages=rust", |
| 35 | + "--exhaustive --folder=rust/generics --languages=rust", |
| 36 | + "--exhaustive --folder=rust/loops --languages=rust", |
| 37 | + "--exhaustive --folder=rust/panic --languages=rust", |
| 38 | + "--exhaustive --folder=rust/recursion --languages=rust", |
| 39 | + "--exhaustive --folder=rust/structures --languages=rust", |
| 40 | + "--exhaustive --folder=rust/vector --languages=rust" |
| 41 | + ] |
| 42 | + steps: |
| 43 | + - uses: actions/checkout@v2 |
| 44 | + |
| 45 | + - name: install dependencies |
| 46 | + env: |
| 47 | + GITHUB_ACTIONS: true |
| 48 | + run: INSTALL_DEV_DEPENDENCIES=1 INSTALL_RUST=1 ./bin/build.sh |
| 49 | + |
| 50 | + - run: python3 --version |
| 51 | + - run: $CXX --version |
| 52 | + - run: $CC --version |
| 53 | + - run: clang --version |
| 54 | + - run: clang++ --version |
| 55 | + - run: llvm-link --version |
| 56 | + - run: llvm-config --version |
| 57 | + |
| 58 | + - name: format checking |
| 59 | + run: | |
| 60 | + ./format/run-clang-format.py -r lib/smack include/smack tools share/smack/include share/smack/lib test examples |
| 61 | + flake8 test/regtest.py share/smack/ --extend-exclude share/smack/svcomp/,share/smack/reach.py |
| 62 | + |
| 63 | + - name: compile and test |
| 64 | + env: |
| 65 | + TRAVIS_ENV: ${{ matrix.travis_env }} |
| 66 | + run: ./bin/build.sh |
0 commit comments