Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Lzw655 committed May 30, 2024
1 parent 6a35933 commit b1d539e
Show file tree
Hide file tree
Showing 6 changed files with 86 additions and 323 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/build_sdk_auto.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Auto Build SDK For All Targets

on:
push:
branches:
- '*'
- '!master'

jobs:
run:
name: Build ${{ github.ref_name }} SDK For all

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Install dependencies
run: bash ./tools/prepare-ci.sh

- name: Build
shell: bash
run: |
echo "Building for all"
bash ./build.sh -e -t all
- name: Upload archive
uses: actions/upload-artifact@v3
with:
name: artifacts
path: dist
55 changes: 55 additions & 0 deletions .github/workflows/build_sdk_manual_v3.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: Manual Build SDK (v3) For the Specific Target

on:
workflow_dispatch:
inputs:
target:
type: choice
description: Choose Target
default: 'all'
options:
- 'all'
- 'esp32'
- 'esp32s2'
- 'esp32s3'
- 'esp32c3'
- 'esp32c6'
- 'esp32h6'
log_level:
type: choice
description: Choose Log Level
default: 'default'
options:
- 'default'
- 'none'
- 'verbose'
- 'debug'
- 'info'
- 'warning'
- 'error'

jobs:
run:
name: Build ${{ github.ref_name }} SDK (v3) For ${{ github.event.inputs.target }}

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Install dependencies
run: bash ./tools/prepare-ci.sh

- name: Build
shell: bash
run: |
export TARGET_TYPE=${{ github.event.inputs.target }}
export LOG_LEVEL=${{ github.event.inputs.log_level }}
echo "Building for $TARGET_TYPE (log_level: $LOG_LEVEL)"
bash ./build.sh -e -t $TARGET_TYPE -D $LOG_LEVEL
- name: Upload archive
uses: actions/upload-artifact@v3
with:
name: artifacts
path: dist
144 changes: 0 additions & 144 deletions .github/workflows/cron.yml

This file was deleted.

81 changes: 0 additions & 81 deletions .github/workflows/docker.yml

This file was deleted.

67 changes: 0 additions & 67 deletions .github/workflows/push.yml

This file was deleted.

Loading

0 comments on commit b1d539e

Please sign in to comment.