diff --git a/.github/workflows/verifier.yml b/.github/workflows/verifier.yml index 9c2e820..92d29bf 100644 --- a/.github/workflows/verifier.yml +++ b/.github/workflows/verifier.yml @@ -6,6 +6,11 @@ jobs: steps: - uses: actions/checkout@main + - name: Install cpputest and lcov ... + run: | + sudo apt install --no-install-recommends -y cpputest lcov + sudo pip install junit2html + - name: Directory test run: | echo ${HOME} @@ -38,27 +43,12 @@ jobs: make -f ${HOME}/work/umm_malloc/adaptabuild.mak MCU=host PRODUCT=unittest unittest ls -al ${HOME}/work/umm_malloc -# ln -s ${HOME}/projects/lcra-test/schemas ${HOME}/projects/schemas -# + - name: Archive test and coverage results + uses: actions/upload-artifact@main + with: + name: Test and Coverage Results + path: ${HOME}/work/umm_malloc/artifacts/unittest/host/umm_malloc -# git clone https://github.com/rhempel/adaptabuild.git ${HOME}/work/umm_malloc/adaptabuild -# - name: Install cpputest and lcov ... -# run: | -# sudo apt install --no-install-recommends -y cpputest lcov -# sudo pip install junit2html -# -# - name: Set up the unittest environment -# run: | -# cd .. -# mkdir -p unittest/src -# ln -s ${PWD}/umm_malloc ${PWD}/unittest/src/umm_malloc -# ln -s ${PWD}/umm_malloc/unittest ${PWD}/unittest/src/unittest -# cp ${PWD}/umm_malloc/adaptabuild/* ${PWD}/unittest -# git clone https://github.com/rhempel/adaptabuild.git unittest/adaptabuild -# ls -al -# ls -al unittest -# ls -al unittest/src -# make -f ${PWD}/unittest/adaptabuild.mak MCU=host PRODUCT=unittest unittest # ls -al unittest # ls -al unittest/artifacts/unittest/host/umm_malloc/ # ls -al ~