2020-12-08 07:36:23 -05:00
|
|
|
name: doc-test
|
|
|
|
|
2021-03-25 18:09:20 -04:00
|
|
|
on:
|
|
|
|
push:
|
|
|
|
pull_request:
|
|
|
|
schedule:
|
|
|
|
- cron: "0 0 * * *"
|
2020-12-08 07:36:23 -05:00
|
|
|
|
|
|
|
jobs:
|
2021-01-18 11:07:29 -05:00
|
|
|
test:
|
2021-01-05 09:46:28 -05:00
|
|
|
runs-on: [self-hosted, Linux, X64]
|
2020-12-08 07:36:23 -05:00
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
|
|
|
include:
|
2020-12-17 04:05:14 -05:00
|
|
|
- {fpga-fam: "eos-s3", os: "ubuntu", os-version: "xenial", example: "counter"}
|
|
|
|
- {fpga-fam: "eos-s3", os: "ubuntu", os-version: "bionic", example: "counter"}
|
|
|
|
- {fpga-fam: "eos-s3", os: "ubuntu", os-version: "focal", example: "counter"}
|
|
|
|
- {fpga-fam: "eos-s3", os: "centos", os-version: "7", example: "counter"}
|
|
|
|
- {fpga-fam: "eos-s3", os: "centos", os-version: "8", example: "counter"}
|
|
|
|
- {fpga-fam: "eos-s3", os: "debian", os-version: "buster", example: "counter"}
|
|
|
|
- {fpga-fam: "eos-s3", os: "debian", os-version: "bullseye", example: "counter"}
|
|
|
|
- {fpga-fam: "eos-s3", os: "debian", os-version: "sid", example: "counter"}
|
2020-12-08 07:36:23 -05:00
|
|
|
|
2020-12-17 04:05:14 -05:00
|
|
|
- {fpga-fam: "xc7", os: "ubuntu", os-version: "xenial", example: "counter"}
|
|
|
|
- {fpga-fam: "xc7", os: "ubuntu", os-version: "bionic", example: "counter"}
|
|
|
|
- {fpga-fam: "xc7", os: "ubuntu", os-version: "focal", example: "counter"}
|
|
|
|
- {fpga-fam: "xc7", os: "centos", os-version: "7", example: "counter"}
|
|
|
|
- {fpga-fam: "xc7", os: "centos", os-version: "8", example: "counter"}
|
|
|
|
- {fpga-fam: "xc7", os: "debian", os-version: "buster", example: "counter"}
|
|
|
|
- {fpga-fam: "xc7", os: "debian", os-version: "bullseye", example: "counter"}
|
|
|
|
- {fpga-fam: "xc7", os: "debian", os-version: "sid", example: "counter"}
|
2020-12-08 07:36:23 -05:00
|
|
|
|
2020-12-17 04:05:14 -05:00
|
|
|
- {fpga-fam: "xc7", os: "ubuntu", os-version: "xenial", example: "picosoc"}
|
|
|
|
- {fpga-fam: "xc7", os: "ubuntu", os-version: "bionic", example: "picosoc"}
|
|
|
|
- {fpga-fam: "xc7", os: "ubuntu", os-version: "focal", example: "picosoc"}
|
|
|
|
- {fpga-fam: "xc7", os: "centos", os-version: "7", example: "picosoc"}
|
|
|
|
- {fpga-fam: "xc7", os: "centos", os-version: "8", example: "picosoc"}
|
|
|
|
- {fpga-fam: "xc7", os: "debian", os-version: "buster", example: "picosoc"}
|
|
|
|
- {fpga-fam: "xc7", os: "debian", os-version: "bullseye", example: "picosoc"}
|
|
|
|
- {fpga-fam: "xc7", os: "debian", os-version: "sid", example: "picosoc"}
|
2020-12-08 07:36:23 -05:00
|
|
|
|
2020-12-15 04:06:43 -05:00
|
|
|
- {fpga-fam: "xc7", os: "ubuntu", os-version: "xenial", example: "litex"}
|
|
|
|
- {fpga-fam: "xc7", os: "ubuntu", os-version: "bionic", example: "litex"}
|
|
|
|
- {fpga-fam: "xc7", os: "ubuntu", os-version: "focal", example: "litex"}
|
|
|
|
- {fpga-fam: "xc7", os: "centos", os-version: "7", example: "litex"}
|
|
|
|
- {fpga-fam: "xc7", os: "centos", os-version: "8", example: "litex"}
|
|
|
|
- {fpga-fam: "xc7", os: "debian", os-version: "buster", example: "litex"}
|
|
|
|
- {fpga-fam: "xc7", os: "debian", os-version: "bullseye", example: "litex"}
|
|
|
|
- {fpga-fam: "xc7", os: "debian", os-version: "sid", example: "litex"}
|
|
|
|
|
2020-12-17 04:05:14 -05:00
|
|
|
- {fpga-fam: "xc7", os: "ubuntu", os-version: "xenial", example: "litex_linux"}
|
|
|
|
- {fpga-fam: "xc7", os: "ubuntu", os-version: "bionic", example: "litex_linux"}
|
|
|
|
- {fpga-fam: "xc7", os: "ubuntu", os-version: "focal", example: "litex_linux"}
|
|
|
|
- {fpga-fam: "xc7", os: "centos", os-version: "7", example: "litex_linux"}
|
|
|
|
- {fpga-fam: "xc7", os: "centos", os-version: "8", example: "litex_linux"}
|
|
|
|
- {fpga-fam: "xc7", os: "debian", os-version: "buster", example: "litex_linux"}
|
|
|
|
- {fpga-fam: "xc7", os: "debian", os-version: "bullseye", example: "litex_linux"}
|
|
|
|
- {fpga-fam: "xc7", os: "debian", os-version: "sid", example: "litex_linux"}
|
2021-08-11 23:03:09 -04:00
|
|
|
|
|
|
|
- {fpga-fam: "xc7", os: "ubuntu", os-version: "xenial", example: "button_controller"}
|
|
|
|
- {fpga-fam: "xc7", os: "ubuntu", os-version: "bionic", example: "button_controller"}
|
|
|
|
- {fpga-fam: "xc7", os: "ubuntu", os-version: "focal", example: "button_controller"}
|
|
|
|
- {fpga-fam: "xc7", os: "centos", os-version: "7", example: "button_controller"}
|
|
|
|
- {fpga-fam: "xc7", os: "centos", os-version: "8", example: "button_controller"}
|
|
|
|
- {fpga-fam: "xc7", os: "debian", os-version: "buster", example: "button_controller"}
|
|
|
|
- {fpga-fam: "xc7", os: "debian", os-version: "bullseye", example: "button_controller"}
|
|
|
|
- {fpga-fam: "xc7", os: "debian", os-version: "sid", example: "button_controller"}
|
2020-12-15 04:06:43 -05:00
|
|
|
|
2020-12-08 07:36:23 -05:00
|
|
|
env:
|
|
|
|
LANG: "en_US.UTF-8"
|
2021-01-05 09:46:28 -05:00
|
|
|
DEBIAN_FRONTEND: "noninteractive"
|
|
|
|
|
|
|
|
container: ${{matrix.os}}:${{matrix.os-version}}
|
2020-12-08 07:36:23 -05:00
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Setup repository
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
|
2021-01-05 09:46:28 -05:00
|
|
|
- name: Install utils
|
|
|
|
if: ${{matrix.os == 'ubuntu' || matrix.os == 'debian'}}
|
|
|
|
run: apt -qqy update && apt -qqy install wget locales && locale-gen $LANG
|
2020-12-10 08:49:18 -05:00
|
|
|
|
2021-01-05 09:46:28 -05:00
|
|
|
- name: Install utils
|
|
|
|
if: ${{matrix.os == 'centos'}}
|
|
|
|
run: yum -y install wget
|
2020-12-08 07:36:23 -05:00
|
|
|
|
|
|
|
- name: Install tuttest
|
2020-12-10 08:49:18 -05:00
|
|
|
run: |
|
2021-01-19 16:52:16 -05:00
|
|
|
wget https://github.com/antmicro/tuttest/releases/download/v0.2-beta/tuttest -O /usr/bin/tuttest
|
2021-01-05 09:46:28 -05:00
|
|
|
chmod a+rx /usr/bin/tuttest
|
2020-12-08 07:36:23 -05:00
|
|
|
|
2020-12-10 08:49:18 -05:00
|
|
|
- name: Install SymbiFlow toolchain
|
2021-01-19 12:15:00 -05:00
|
|
|
run: bash .github/scripts/install-toolchain.sh ${{matrix.fpga-fam}} ${{matrix.os}}
|
2020-12-08 07:36:23 -05:00
|
|
|
|
|
|
|
- name: Build examples
|
2021-01-19 12:15:00 -05:00
|
|
|
run: bash .github/scripts/build-examples.sh ${{matrix.fpga-fam}} ${{matrix.example}}
|
2020-12-08 08:42:12 -05:00
|
|
|
|
|
|
|
- uses: actions/upload-artifact@v2
|
|
|
|
with:
|
2020-12-10 08:49:18 -05:00
|
|
|
name: symbiflow-examples-bitstreams
|
2020-12-08 08:42:12 -05:00
|
|
|
path: |
|
|
|
|
**/*.bit
|
2021-01-15 16:21:18 -05:00
|
|
|
**/plot_*.svg
|