Skip to content

Commit

Permalink
[ACTION] Use own custom image with pre-installed idf
Browse files Browse the repository at this point in the history
  • Loading branch information
darthcloud committed Feb 13, 2024
1 parent 30faa55 commit 8621d7e
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions .github/workflows/quick.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,9 @@ on:

jobs:
build:
runs-on: ubuntu-20.04
runs-on: darthcloud/idf-blueretro:v5.2.0_2023-10-09

steps:
- name: Install ESP-IDF prerequisite
run: |
sudo add-apt-repository -y "deb http://archive.ubuntu.com/ubuntu `lsb_release -sc` main universe restricted multiverse"
sudo apt-get update -y -qq
sudo apt-get install git wget flex bison gperf python3 python3-pip python3-setuptools cmake ninja-build ccache libffi-dev libssl-dev dfu-util
- name: Set python3 default
run: sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 10 && alias pip=pip3
- name: Clone BlueRetroRoot
run: git clone https://github.com/darthcloud/BlueRetroRoot.git .
- name: Fetch submodules
Expand All @@ -34,15 +27,9 @@ jobs:
git fetch --force https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.git "+refs/pull/*:refs/remotes/origin/pr/*"
git checkout ${{ github.sha }} || git checkout ${{ github.event.pull_request.head.sha }}
git submodule update --init --recursive
- name: Install ESP-IDF
working-directory: ./esp-idf
run: sh ./install.sh
env:
IDF_TOOLS_PATH : "/home/runner/work/BlueRetro/BlueRetro/BlueRetroRoot/"
- name: Build with ESP-IDF
working-directory: ./BlueRetro
run: |
. ../esp-idf/export.sh
echo "br_version=$(git describe --always --tags --dirty)" >> $GITHUB_ENV
echo "$(git describe --always --tags --dirty) ${{ github.event.inputs.hw_version }} ${{ github.event.inputs.br_config }}" | cut -c -31 > version.txt
cat version.txt
Expand Down

0 comments on commit 8621d7e

Please sign in to comment.