added ci job to test f1 driver build
This commit is contained in:
parent
43e3de6a34
commit
bf4d8d4e17
|
@ -0,0 +1,15 @@
|
|||
#!/usr/bin/env python3
|
||||
|
||||
from fabric.api import *
|
||||
|
||||
from common import manager_fsim_dir, set_fabric_firesim_pem
|
||||
|
||||
def run_sim_driver():
|
||||
"""Runs compilation of F1 driver for the make-default tuple"""
|
||||
|
||||
with cd(manager_fsim_dir + "/sim"), prefix('source ../env.sh'):
|
||||
run("make f1")
|
||||
|
||||
if __name__ == "__main__":
|
||||
set_fabric_firesim_pem()
|
||||
execute(run_sim_driver, hosts=["localhost"])
|
|
@ -161,9 +161,20 @@ jobs:
|
|||
- name: Check docs components that require manual re-generation (e.g. config_runtime.yaml example, help output)
|
||||
run: ./.github/scripts/check-docs-generated-components.py
|
||||
|
||||
build-f1-driver:
|
||||
name: build-f1-driver
|
||||
needs: [setup-manager]
|
||||
runs-on: ${{ github.run_id }}
|
||||
env:
|
||||
TERM: xterm-256-color
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Runs compilation of F1 driver for the make-default tuple
|
||||
run: ./.github/scripts/build-f1-driver.py
|
||||
|
||||
run-test-groupA:
|
||||
name: run-test-groupA
|
||||
needs: [setup-manager]
|
||||
needs: [build-f1-driver]
|
||||
runs-on: ${{ github.run_id }}
|
||||
env:
|
||||
TERM: xterm-256-color
|
||||
|
|
Loading…
Reference in New Issue