From 5423d7dae54317367cc67c19f5fe3af76209d1ea Mon Sep 17 00:00:00 2001 From: Wilko Nienhaus Date: Sat, 20 Aug 2022 00:17:53 +0300 Subject: [PATCH] Use micropython from new build location during build The MicroPython project changed their CI scripts slightly which resulted in the unix port binary being output to a subdirectory (build-standard) instead of the current directory as before. This broke our build process. This commit updates our build script to search for the micropython binary in the correct subdirectory. Fixes #81 --- .github/workflows/run_tests.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/run_tests.yaml b/.github/workflows/run_tests.yaml index 7d78dbe..c8b9ecb 100644 --- a/.github/workflows/run_tests.yaml +++ b/.github/workflows/run_tests.yaml @@ -34,8 +34,9 @@ jobs: git describe --always --tags make submodules make - export PATH=$PATH:$PWD - echo "::set-output name=bin_dir::$PWD" + export OUTDIR=$PWD/build-standard + export PATH=$PATH:$OUTDIR + echo "::set-output name=bin_dir::$OUTDIR" test $(micropython -c 'print("test")') = "test" popd