Skip to content

Commit

Permalink
CI: try self-hosted runners
Browse files Browse the repository at this point in the history
Signed-off-by: Adam Olech <aolech@antmicro.com>
  • Loading branch information
AdamOlech committed Aug 13, 2021
1 parent fe9b3ff commit 39bdaf5
Showing 1 changed file with 23 additions and 7 deletions.
30 changes: 23 additions & 7 deletions .github/workflows/ci.yml
Expand Up @@ -11,25 +11,35 @@ name: FPGA interchange CI tests
on: [push, pull_request]

jobs:
Run-Tests:
Check-Repository:
runs-on: ubuntu-latest
steps:

- uses: actions/checkout@v2
with:
submodules: recursive

- uses: SymbiFlow/actions/checks@main

Run-Tests:
runs-on: [self-hosted, Linux, X64]
container: "ubuntu:20.04"
strategy:
matrix:
device: ["xc7a35t", "xc7a100t", "xc7z010", "LIFCL-40"]
env:
LANG: "en_US.UTF-8"
DEBIAN_FRONTEND: "noninteractive"
steps:

- uses: actions/checkout@v2
with:
submodules: recursive

- uses: actions/setup-python@v2

- uses: SymbiFlow/actions/checks@main

- name: Install
run: |
sudo apt-get update
sudo apt-get install git make cmake
apt-get -qqy update
apt-get -qqy install build-essential git make cmake python3 wget
git submodule status > .submodules_status
- name: Cache environment
Expand All @@ -53,3 +63,9 @@ jobs:
make all-${{ matrix.device }}-tests -j`nproc`
make all-${{ matrix.device }}-validation-tests -j`nproc`
make all-${{ matrix.device }}-simulation-tests -j`nproc`
- uses: actions/upload-artifact@v2
with:
name: fpga-interchange-tests-performance-graphs
path: |
**/plot_*.svg

0 comments on commit 39bdaf5

Please sign in to comment.