-
Notifications
You must be signed in to change notification settings - Fork 107
27 lines (23 loc) · 934 Bytes
/
verifier.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
name: verifyer
on: [pull_request, workflow_dispatch]
jobs:
multi_test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
- name: Install cpputest
run: sudo apt install --no-install-recommends -y cpputest
- name: Set up the unittest environment
run: |
cd ..
mkdir -p unittest/src
ln -s ${PWD}/umm_malloc ${PWD}/unittest/src/umm_malloc
cd unittest && git clone https://github.com/rhempel/adaptabuild.git
cd unittest/src && ln -s umm_malloc/unittest unittest
cd unittest && cp src/umm_malloc/adaptabuild/* .
cd unittest && make -f adaptabuild.mak MCU=host PRODUCT=unittest unittest
ls -al unittest
# - name: Link unittest source up one level
# run: sudo apt install --no-install-recommends -y cpputest
# - name: Run multi-configuration tests
# run: ./multitest.sh