ci: separate test and database in different workflows This also updates the README badges Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
diff --git a/.github/workflows/ci.yml b/.github/workflows/database.yml similarity index 61% rename from .github/workflows/ci.yml rename to .github/workflows/database.yml index 6122381..924cc6e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/database.yml
@@ -7,44 +7,6 @@ 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
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml new file mode 100644 index 0000000..7c5f3f1 --- /dev/null +++ b/.github/workflows/tests.yml
@@ -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
diff --git a/README.md b/README.md index 9a55d23..9b479d6 100644 --- a/README.md +++ b/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 @@ 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 @@ 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 @@ 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.