Remove duplicated workflow (#1507)
* add workflow and scripts * Update date * Removed duplicated workflow Co-authored-by: GitHub set-date Action <action@github.com>
This commit is contained in:
parent
3103c18860
commit
d2b63e0190
|
@ -3,8 +3,37 @@ name: Firmware CI
|
||||||
on: [push,pull_request]
|
on: [push,pull_request]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
config:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
if: ${{ github.event.pusher }}
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
|
||||||
|
- name: Generate Configs
|
||||||
|
working-directory: ./firmware/
|
||||||
|
run: sh gen_config.sh
|
||||||
|
|
||||||
|
- name: Generate Live Documentation
|
||||||
|
working-directory: ./firmware/
|
||||||
|
run: sh gen_live_documentation.sh
|
||||||
|
|
||||||
|
- name: Commit changes
|
||||||
|
run: |
|
||||||
|
git config --local user.email "action@github.com"
|
||||||
|
git config --local user.name "GitHub build-firmware Action"
|
||||||
|
git commit -am "Auto-generated configs and docs" 2>&1 | grep -E '(nothing to commit|changed)'
|
||||||
|
|
||||||
|
- name: Push configs
|
||||||
|
uses: ad-m/github-push-action@master
|
||||||
|
with:
|
||||||
|
github_token: ${{ github.token }}
|
||||||
|
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
needs: config
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
# Let all builds finish even if one fails early
|
# Let all builds finish even if one fails early
|
||||||
|
|
|
@ -1,23 +0,0 @@
|
||||||
name: rusEFI console 11
|
|
||||||
|
|
||||||
on: [push,pull_request]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
with:
|
|
||||||
submodules: recursive
|
|
||||||
# todo: switch to 11 once we have modules access
|
|
||||||
- uses: actions/setup-java@v1
|
|
||||||
with:
|
|
||||||
java-version: '8'
|
|
||||||
|
|
||||||
- name: Test Compiler
|
|
||||||
run: javac -version
|
|
||||||
|
|
||||||
- name: Build console
|
|
||||||
working-directory: ./java_console
|
|
||||||
run: ant
|
|
|
@ -1,4 +1,4 @@
|
||||||
name: rusEFI console 8
|
name: rusEFI console
|
||||||
|
|
||||||
on: [push,pull_request]
|
on: [push,pull_request]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue