From fa3b50594fc831989ad662463374236437d71508 Mon Sep 17 00:00:00 2001 From: DrunkBatya Date: Mon, 6 May 2024 13:09:43 +0300 Subject: [PATCH 1/2] Add cmake --- .github/workflows/build.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bd66280..e714e1e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -21,9 +21,6 @@ jobs: submodules: false ref: ${{ github.event.pull_request.head.sha }} - - name: 'Checkout submodules' - run: git submodule update --init --recursive --depth 1 --jobs "$(getconf _NPROCESSORS_ONLN)"; - - name: 'Set toolchain envs' run: | echo "FBT_TOOLCHAIN_PATH=$(pwd)" >> $GITHUB_ENV @@ -32,6 +29,14 @@ jobs: run: | source scripts/toolchain/fbtenv.sh + - name: 'Setup cmake' + uses: jwlawson/actions-setup-cmake@v2 + with: + cmake-version: '3.29.0' + + - name: 'Checkout submodules' + run: git submodule update --init --recursive --depth 1 --jobs "$(getconf _NPROCESSORS_ONLN)"; + - name: 'Get commit details' id: names run: | From dfc48ace6255a147f689d6fb26430dc54c6019d0 Mon Sep 17 00:00:00 2001 From: DrunkBatya Date: Mon, 6 May 2024 14:51:17 +0300 Subject: [PATCH 2/2] Remove extra code --- .github/workflows/build.yml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e714e1e..0aa8b31 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -54,11 +54,6 @@ jobs: "--github_auth_token=${{ secrets.GITHUB_TOKEN }}"; echo "event_type=$TYPE" >> $GITHUB_OUTPUT - - name: 'Install python tools' - run: | - source scripts/toolchain/fbtenv.sh; - python3 -m pip install grpcio-tools; - - name: 'Build firmware' run: | source scripts/toolchain/fbtenv.sh;