aboutsummaryrefslogtreecommitdiffstats
path: root/.cirrus.yml
blob: c97b521cb2817d92e2c118fe97c16d6ffbd22eba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
task:
  name: build-test-ubuntu1604
  container:
    cpu: 4
    memory: 16
    dockerfile: .cirrus/Dockerfile.ubuntu16.04

  build_script: mkdir build && cd build && cmake .. -DARCH=all -DTRELLIS_ROOT=/usr/local/src/prjtrellis -DBUILD_TESTS=on && make -j $(nproc)
  submodule_script: git submodule sync --recursive && git submodule update --init --recursive
  test_generic_script: cd build && ./nextpnr-generic-test
  test_ice40_script: cd build && ./nextpnr-ice40-test
  smoketest_ice40_script: export NEXTPNR=$(pwd)/build/nextpnr-ice40 && cd ice40/smoketest/attosoc && ./smoketest.sh
  test_ecp5_script: cd build && ./nextpnr-ecp5-test
  regressiontest_ice40_script: make -j $(nproc) -C tests/ice40/regressions NPNR=$(pwd)/build/nextpnr-ice40
  regressiontest_ecp5_script: make -j $(nproc) -C tests/ecp5/regressions NPNR=$(pwd)/build/nextpnr-ecp5