From fae50600f220951d9591466f88fc6fa785069cc8 Mon Sep 17 00:00:00 2001 From: macko1 <44851174+macko1@users.noreply.github.com> Date: Wed, 13 Nov 2024 15:42:18 +0100 Subject: [PATCH] feat(ci): Delete build-cmake-linux-armv7.yml workflow as it is migrated to GL We are moving this pipeline to our private repository outside of GH. --- .github/workflows/build-cmake-linux-armv7.yml | 58 ------------------- 1 file changed, 58 deletions(-) delete mode 100644 .github/workflows/build-cmake-linux-armv7.yml diff --git a/.github/workflows/build-cmake-linux-armv7.yml b/.github/workflows/build-cmake-linux-armv7.yml deleted file mode 100644 index 54951f5..0000000 --- a/.github/workflows/build-cmake-linux-armv7.yml +++ /dev/null @@ -1,58 +0,0 @@ -name: armv7-cmake-dispatch - -on: - workflow_dispatch: - inputs: - cmake_version: - description: > - Cmake version to build and upload - For example 3.23.1 - type: string - required: true - -jobs: - build-cmake: - name: Build cmake for linux-armv7 - runs-on: - - self-hosted - - ARM - container: - image: ghcr.io/espressif/github-esp-dockerfiles/pyenv_rust_powershell:v2 - options: --privileged - steps: - - name: Checkout repository - uses: actions/checkout@v2 - - name: Download and unpack cmake - shell: bash - run: | - wget "https://github.com/Kitware/CMake/releases/download/v${{ inputs.cmake_version }}/cmake-${{ inputs.cmake_version }}.tar.gz" - tar -xf "cmake-${{ inputs.cmake_version }}.tar.gz" - - name: Build cmake - shell: bash - run: | - cd "cmake-${{ inputs.cmake_version }}" - mkdir cmake-build - cd cmake-build - ../bootstrap && make && make install - - name: Create packages - shell: bash - working-directory: 'cmake-${{ inputs.cmake_version }}/cmake-build' - run: cpack -G TGZ && cpack -G STGZ - - name: Upload cmake to s3 - env: - AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} - AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} - AWS_DEFAULT_REGION: ${{ secrets.AWS_DEFAULT_REGION }} - AWS_BUCKET: ${{ secrets.DL_BUCKET }} - PREFIX: 'dl/cmake' - shell: bash - working-directory: 'cmake-${{ inputs.cmake_version }}/cmake-build' - run: | - aws s3 cp --acl=public-read --no-progress "cmake-${{ inputs.cmake_version }}-Linux-armv7l.tar.gz" "s3://$AWS_BUCKET/dl/cmake/cmake-${{ inputs.cmake_version }}-Linux-armv7l.tar.gz" - - name: Drop AWS cache - id: invalidate-index-cache - env: - AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} - AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} - AWS_DEFAULT_REGION: ${{ secrets.AWS_DEFAULT_REGION }} - run: aws cloudfront create-invalidation --distribution-id ${{ secrets.AWS_CACHE_INVALIDATION }} --paths "/dl/cmake/*"