mirror of
https://github.com/emp-toolkit/emp-ag2pc.git
synced 2026-01-07 22:43:50 -05:00
25 lines
649 B
YAML
25 lines
649 B
YAML
name: arm
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
build_arm:
|
|
strategy:
|
|
matrix:
|
|
os: [ubuntu-latest]
|
|
build_type: [Debug, Release]
|
|
runs-on: [self-hosted]
|
|
timeout-minutes: 30
|
|
env:
|
|
BUILD_TYPE: ${{matrix.build_type}}
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: install dependency
|
|
run: |
|
|
wget https://raw.githubusercontent.com/emp-toolkit/emp-readme/master/scripts/install.py
|
|
python3 install.py --install --tool --ot
|
|
- name: Create Build Environment
|
|
run: cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=$BUILD_TYPE && make
|
|
- name: Test
|
|
shell: bash
|
|
run: make test
|