mirror of https://github.com/openXC7/prjxray.git
ci: separate test and database in different workflows
This also updates the README badges Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
This commit is contained in:
parent
7866deed02
commit
cf0b684a79
|
|
@ -7,44 +7,6 @@ on:
|
|||
name: CI Build
|
||||
|
||||
jobs:
|
||||
|
||||
Tests:
|
||||
container: ubuntu:bionic
|
||||
|
||||
runs-on: [self-hosted, Linux, X64]
|
||||
|
||||
env:
|
||||
ALLOW_ROOT: true
|
||||
|
||||
steps:
|
||||
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
submodules: recursive
|
||||
|
||||
- name: Install
|
||||
run: |
|
||||
apt update
|
||||
apt install -y \
|
||||
bash bison build-essential ca-certificates clang-format cmake psmisc \
|
||||
colordiff coreutils git flex python3 python3-dev python3-venv xsltproc
|
||||
|
||||
- name: Build
|
||||
run: make build --output-sync=target --warn-undefined-variables -j$(nproc)
|
||||
|
||||
- name: Environment
|
||||
run: make env --output-sync=target --warn-undefined-variables
|
||||
|
||||
- name: Run Test
|
||||
run: make test --output-sync=target --warn-undefined-variables
|
||||
|
||||
- uses: actions/upload-artifact@v2
|
||||
if: ${{ always() }}
|
||||
with:
|
||||
path: |
|
||||
**/results*.gz
|
||||
**/plot_*.svg
|
||||
|
||||
BuildDatabase:
|
||||
container: ubuntu:bionic
|
||||
|
||||
|
|
@ -0,0 +1,46 @@
|
|||
on:
|
||||
pull_request:
|
||||
push:
|
||||
schedule:
|
||||
- cron: '0 0 * * *'
|
||||
|
||||
name: CI Build
|
||||
|
||||
jobs:
|
||||
|
||||
Tests:
|
||||
container: ubuntu:bionic
|
||||
|
||||
runs-on: [self-hosted, Linux, X64]
|
||||
|
||||
env:
|
||||
ALLOW_ROOT: true
|
||||
|
||||
steps:
|
||||
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
submodules: recursive
|
||||
|
||||
- name: Install
|
||||
run: |
|
||||
apt update
|
||||
apt install -y \
|
||||
bash bison build-essential ca-certificates clang-format cmake psmisc \
|
||||
colordiff coreutils git flex python3 python3-dev python3-venv xsltproc
|
||||
|
||||
- name: Build
|
||||
run: make build --output-sync=target --warn-undefined-variables -j$(nproc)
|
||||
|
||||
- name: Environment
|
||||
run: make env --output-sync=target --warn-undefined-variables
|
||||
|
||||
- name: Run Test
|
||||
run: make test --output-sync=target --warn-undefined-variables
|
||||
|
||||
- uses: actions/upload-artifact@v2
|
||||
if: ${{ always() }}
|
||||
with:
|
||||
path: |
|
||||
**/results*.gz
|
||||
**/plot_*.svg
|
||||
16
README.md
16
README.md
|
|
@ -1,14 +1,10 @@
|
|||
# Project X-Ray
|
||||
|
||||
[](http://prjxray.readthedocs.org/)
|
||||
[](https://github.com/SymbiFlow/prjxray/blob/master/LICENSE)
|
||||
[](https://travis-ci.com/github/SymbiFlow/prjxray)
|
||||
[](http://storage.googleapis.com/symbiflow-badges/prjxray/tests.html)
|
||||
[](https://github.com/f4pga/prjxray/blob/master/LICENSE)
|
||||
|
||||
[](http://storage.googleapis.com/symbiflow-badges/prjxray/database.html)
|
||||
[](http://storage.googleapis.com/symbiflow-badges/prjxray/artix7.html)
|
||||
[](http://storage.googleapis.com/symbiflow-badges/prjxray/kintex7.html)
|
||||
[](http://storage.googleapis.com/symbiflow-badges/prjxray/zynq7.html)
|
||||

|
||||

|
||||
|
||||
Documenting the Xilinx 7-series bit-stream format.
|
||||
|
||||
|
|
@ -35,7 +31,7 @@ that shell. The Vivado wrapper utils/vivado.sh makes sure that the environment
|
|||
variables from XRAY_VIVADO_SETTINGS are automatically sourced in a separate
|
||||
shell that is then only used to run Vivado to avoid these problems.
|
||||
|
||||
**Why 2017.2?** Currently the fuzzers only work on `2017.2`, see [Issue #14 on prjxray](https://github.com/SymbiFlow/prjxray/issues/14).
|
||||
**Why 2017.2?** Currently the fuzzers only work on `2017.2`, see [Issue #14 on prjxray](https://github.com/f4pga/prjxray/issues/14).
|
||||
|
||||
**Is 2017.2 really required?** Yes, only `2017.2` works. Until Issue #14 is solved, **only** `2017.2` works and will be supported.
|
||||
|
||||
|
|
@ -43,7 +39,7 @@ shell that is then only used to run Vivado to avoid these problems.
|
|||
Clone the ``prjxray`` repository and its submodules:
|
||||
|
||||
```bash
|
||||
git clone git@github.com:SymbiFlow/prjxray.git
|
||||
git clone git@github.com:f4pga/prjxray.git
|
||||
cd prjxray
|
||||
git submodule update --init --recursive
|
||||
```
|
||||
|
|
@ -233,7 +229,7 @@ bitstream format in the [database](database) directory.
|
|||
As running all these fuzzers can take significant time,
|
||||
[Tim 'mithro' Ansell <me@mith.ro>](https://github.com/mithro) has graciously
|
||||
agreed to maintain a copy of the database in the
|
||||
[prjxray-db](https://github.com/SymbiFlow/prjxray-db) repository.
|
||||
[prjxray-db](https://github.com/f4pga/prjxray-db) repository.
|
||||
|
||||
Please direct enquires to [Tim](mailto:me@mith.ro) if there are any issues with
|
||||
it.
|
||||
|
|
|
|||
Loading…
Reference in New Issue