From f58d0599c5e0ad2bebfb6f12496bdc8e7fc0ae49 Mon Sep 17 00:00:00 2001 From: Keith Rothman <537074+litghost@users.noreply.github.com> Date: Wed, 24 Feb 2021 08:30:57 -0800 Subject: Test schema on GH Actions. Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com> --- .github/workflows/ci.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..c4b6b7d --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,24 @@ +name: CI tests +on: [push, pull_request] +jobs: + Check-schema: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + with: + submodules: recursive + + - name: Install + run: | + sudo apt-get install capnproto libcapnp-dev + git clone https://github.com/capnproto/capnproto-java.git $GITHUB_WORKSPACE/env/capnproto-java + cd $GITHUB_WORKSPACE/env/capnproto-java + make + sudo make install + - name: Build schemas + run: | + mkdir build + capnp compile -Iinterchange -oc++:build interchange/References.capnp + capnp compile -Iinterchange -oc++:build interchange/LogicalNetlist.capnp + capnp compile -Iinterchange -oc++:build interchange/PhysicalNetlist.capnp + capnp compile -Iinterchange -oc++:build interchange/DeviceResources.capnp -- cgit v1.2.3 From 8c0080dfddc454148a8d0202e4704c48441b5977 Mon Sep 17 00:00:00 2001 From: Keith Rothman <537074+litghost@users.noreply.github.com> Date: Wed, 24 Feb 2021 08:47:23 -0800 Subject: Have at least 2 members in LUT equation union. Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com> --- interchange/DeviceResources.capnp | 1 + 1 file changed, 1 insertion(+) diff --git a/interchange/DeviceResources.capnp b/interchange/DeviceResources.capnp index 4954698..17cc3f1 100644 --- a/interchange/DeviceResources.capnp +++ b/interchange/DeviceResources.capnp @@ -552,6 +552,7 @@ struct Device { # INIT[2] is output when second pin is 1 and all other pins are 0. # INIT[3] is output when both pins are 1. initParam @2 : Text; + invalid @3 : Void; } } -- cgit v1.2.3