From ed1b0c30034cca8b6a8eee28fa16dd99cc3d7889 Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Sat, 7 Dec 2024 14:37:19 +0100 Subject: [PATCH] fix arm compile --- .github/workflows/build_esptool.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build_esptool.yml b/.github/workflows/build_esptool.yml index d7a7504d1..74b8247fe 100644 --- a/.github/workflows/build_esptool.yml +++ b/.github/workflows/build_esptool.yml @@ -26,7 +26,7 @@ jobs: - uses: uraimo/run-on-arch-action@v2 name: Build and test in ${{ matrix.platform }} with: - #arch: ${{ matrix.platform }} + arch: ${{ matrix.platform }} distro: ubuntu20.04 shell: /bin/bash # Not required, but speeds up builds by storing container images in @@ -37,7 +37,7 @@ jobs: dockerRunArgs: --volume "${PWD}/${{ env.DISTPATH }}:/${{ env.DISTPATH }}" install: | apt-get update -y - apt-get install -y python3 python3-pip python3-setuptools libffi-dev + apt-get install --ignore-missing -y python3 python3-pip python3-setuptools python-is-python3 pkg-config openssl libffi-dev libssl-dev cargo rustc run: | adduser --disabled-password --gecos "" builder chmod -R a+rwx /home/runner/work/esptool @@ -54,12 +54,12 @@ jobs: pyinstaller --distpath ./${{ env.DISTPATH }} -F --icon=ci/espressif.ico --add-data="${{ env.EFUSE_DIR }}*.yaml:${{ env.EFUSE_DIR }}" espefuse.py pyinstaller --distpath ./${{ env.DISTPATH }} -F --icon=ci/espressif.ico espsecure.py pyinstaller --distpath ./${{ env.DISTPATH }} -F --icon=ci/espressif.ico esp_rfc2217_server.py - + # Test binaries - ./${{ env.DISTPATH }}/esptool -h - ./${{ env.DISTPATH }}/espefuse -h - ./${{ env.DISTPATH }}/espsecure -h - ./${{ env.DISTPATH }}/esp_rfc2217_server -h + ./${{ env.DISTPATH }}/esptool -h || exit 1 + ./${{ env.DISTPATH }}/espefuse -h || exit 1 + ./${{ env.DISTPATH }}/espsecure -h || exit 1 + ./${{ env.DISTPATH }}/esp_rfc2217_server -h || exit 1 - name: Archive artifact uses: actions/upload-artifact@v4