mirror of https://github.com/OpenIPC/firmware.git
Cleanup CI (#401)
* Say BR that we using CXX enabled toolchains * Change nosave param to better namepull/405/head
parent
c5ca11dbee
commit
aea919a348
|
@ -193,6 +193,7 @@ jobs:
|
||||||
# Original SDK test
|
# Original SDK test
|
||||||
- platform: gk7205v200
|
- platform: gk7205v200
|
||||||
release: original
|
release: original
|
||||||
|
custom: onlyci
|
||||||
|
|
||||||
# MVP
|
# MVP
|
||||||
- platform: t10
|
- platform: t10
|
||||||
|
@ -213,19 +214,19 @@ jobs:
|
||||||
# TODO
|
# TODO
|
||||||
- platform: ak3916ev300
|
- platform: ak3916ev300
|
||||||
release: lite
|
release: lite
|
||||||
nosave: nosave
|
custom: onlyci
|
||||||
- platform: ak3918ev200
|
- platform: ak3918ev200
|
||||||
release: lite
|
release: lite
|
||||||
nosave: nosave
|
custom: onlyci
|
||||||
- platform: ak3918ev300
|
- platform: ak3918ev300
|
||||||
release: lite
|
release: lite
|
||||||
nosave: nosave
|
custom: onlyci
|
||||||
- platform: gk7102
|
- platform: gk7102
|
||||||
release: lite
|
release: lite
|
||||||
nosave: nosave
|
custom: onlyci
|
||||||
- platform: gk7102s
|
- platform: gk7102s
|
||||||
release: lite
|
release: lite
|
||||||
nosave: nosave
|
custom: onlyci
|
||||||
|
|
||||||
exclude:
|
exclude:
|
||||||
- platform: hi3516cv100
|
- platform: hi3516cv100
|
||||||
|
@ -350,6 +351,7 @@ jobs:
|
||||||
echo "BR2_TOOLCHAIN_EXTERNAL=y" >> $CONF_PATH
|
echo "BR2_TOOLCHAIN_EXTERNAL=y" >> $CONF_PATH
|
||||||
echo "BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y" >> $CONF_PATH
|
echo "BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y" >> $CONF_PATH
|
||||||
echo "BR2_TOOLCHAIN_EXTERNAL_PREINSTALLED=y" >> $CONF_PATH
|
echo "BR2_TOOLCHAIN_EXTERNAL_PREINSTALLED=y" >> $CONF_PATH
|
||||||
|
echo "BR2_TOOLCHAIN_EXTERNAL_CXX=y" >> $CONF_PATH
|
||||||
echo "BR2_TOOLCHAIN_EXTERNAL_PATH=\"/tmp/extsdk\"" >> $CONF_PATH
|
echo "BR2_TOOLCHAIN_EXTERNAL_PATH=\"/tmp/extsdk\"" >> $CONF_PATH
|
||||||
|
|
||||||
SOC=$(echo $TOOLNAME | cut -d '-' -f 1)
|
SOC=$(echo $TOOLNAME | cut -d '-' -f 1)
|
||||||
|
@ -425,7 +427,7 @@ jobs:
|
||||||
exit 2
|
exit 2
|
||||||
|
|
||||||
- name: Create release
|
- name: Create release
|
||||||
if: ${{ !env.ACT && github.event_name != 'pull_request' && matrix.nosave != 'nosave' }}
|
if: ${{ !env.ACT && github.event_name != 'pull_request' && matrix.custom != 'onlyci' }}
|
||||||
uses: actions/create-release@v1
|
uses: actions/create-release@v1
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
env:
|
env:
|
||||||
|
@ -437,7 +439,7 @@ jobs:
|
||||||
prerelease: ${{ env.PRERELEASE }}
|
prerelease: ${{ env.PRERELEASE }}
|
||||||
|
|
||||||
- name: Upload NOR FW to release
|
- name: Upload NOR FW to release
|
||||||
if: ${{ !env.ACT && github.event_name != 'pull_request' && matrix.nosave != 'nosave' }}
|
if: ${{ !env.ACT && github.event_name != 'pull_request' && matrix.custom != 'onlyci' }}
|
||||||
uses: svenstaro/upload-release-action@v2
|
uses: svenstaro/upload-release-action@v2
|
||||||
with:
|
with:
|
||||||
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
@ -447,7 +449,7 @@ jobs:
|
||||||
overwrite: true
|
overwrite: true
|
||||||
|
|
||||||
- name: Upload NAND FW to release
|
- name: Upload NAND FW to release
|
||||||
if: ${{ !env.ACT && github.event_name != 'pull_request' && matrix.nosave != 'nosave' && env.HAS_NAND == 'y' }}
|
if: ${{ !env.ACT && github.event_name != 'pull_request' && matrix.custom != 'onlyci' && env.HAS_NAND == 'y' }}
|
||||||
uses: svenstaro/upload-release-action@v2
|
uses: svenstaro/upload-release-action@v2
|
||||||
with:
|
with:
|
||||||
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
@ -457,7 +459,7 @@ jobs:
|
||||||
overwrite: true
|
overwrite: true
|
||||||
|
|
||||||
- name: Send binary file to telegram channel
|
- name: Send binary file to telegram channel
|
||||||
if: ${{ !env.ACT && github.event_name != 'pull_request' && matrix.nosave != 'nosave' }}
|
if: ${{ !env.ACT && github.event_name != 'pull_request' && matrix.custom != 'onlyci' }}
|
||||||
env:
|
env:
|
||||||
TG_TOKEN: ${{ secrets.TELEGRAM_TOKEN_BOT_OPENIPC }}
|
TG_TOKEN: ${{ secrets.TELEGRAM_TOKEN_BOT_OPENIPC }}
|
||||||
TG_CHANNEL: ${{ secrets.TELEGRAM_CHANNEL_OPENIPC_DEV }}
|
TG_CHANNEL: ${{ secrets.TELEGRAM_CHANNEL_OPENIPC_DEV }}
|
||||||
|
|
Loading…
Reference in New Issue