Skip to content

[action] use github action to build arc_lab #18

[action] use github action to build arc_lab

[action] use github action to build arc_lab #18

Workflow file for this run

name: Build
env:
GIT_AUTHOR_NAME: svc-arcoss_auto arc
GIT_COMMITTER_NAME: svc-arcoss_auto arc
GIT_AUTHOR_EMAIL: [email protected]
GIT_COMMITTER_EMAIL: [email protected]
TOOLCHAIN: gnu
TOOLCHAIN_VER: 2020.09
on:
push:
branches:
- master
- jingru-github-ci-flow
jobs:
example-build-on-iotdk:
name: "Build arc_labs tests on iotdk"
runs-on: ubuntu-latest
env:
BOARD: iotdk
steps:
- name: checkout
uses: actions/checkout@v2
with:
submodules: true
- name: checkout-embarc_osp
uses: actions/checkout@v2
with:
repository: foss-for-synopsys-dwc-arc-processors/embarc_osp
path: 'embarc_osp'
ref: scripts-allow-insert-tests
- name: install-dependencies
run: |
bash ./embarc_osp/scripts/.ci/before_install.sh
- name: build
run: |
bash .github/workflows/script.sh
example-build-on-nsim:
name: "Build arc_labs tests on nsim"
runs-on: ubuntu-latest
env:
BOARD: nsim
steps:
- name: checkout
uses: actions/checkout@v2
with:
submodules: true
- name: checkout-embarc_osp
uses: actions/checkout@v2
with:
repository: foss-for-synopsys-dwc-arc-processors/embarc_osp
path: 'embarc_osp'
ref: scripts-allow-insert-tests
- name: install-dependencies
run: |
bash ./embarc_osp/scripts/.ci/before_install.sh
- name: build
run: |
bash .github/workflows/script.sh