Update push.yml
This commit is contained in:
109
.github/workflows/push.yml
vendored
109
.github/workflows/push.yml
vendored
@@ -1,22 +1,103 @@
|
|||||||
name: CI Push
|
name: CI PR
|
||||||
|
|
||||||
on: [push]
|
on: [pull_request]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build_TS80:
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: chmod
|
- name: chmod
|
||||||
run: chmod +x build.sh
|
run: chmod +x setup.sh && chmod +x workspace/TS100/build.sh
|
||||||
- name: translation
|
|
||||||
run: |
|
- name: setup
|
||||||
cd Translation\ Editor
|
run: ./setup.sh
|
||||||
python3 make_translation.py
|
|
||||||
- name: make
|
- name: build TS80
|
||||||
run: ./build.sh -l EN
|
run: cd workspace/TS100 && ./build.sh -m TS80
|
||||||
- name: Archive production artifacts
|
|
||||||
uses: actions/upload-artifact@v1
|
- name: Archive TS80 artifacts
|
||||||
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: compiled
|
name: TS80
|
||||||
path: ci/artefacts
|
path: |
|
||||||
|
workspace/TS100/Hexfile/TS80_*.hex
|
||||||
|
workspace/TS100/Hexfile/TS80_*.bin
|
||||||
|
if-no-files-found: error
|
||||||
|
build_TS80P:
|
||||||
|
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: chmod
|
||||||
|
run: chmod +x setup.sh && chmod +x workspace/TS100/build.sh
|
||||||
|
|
||||||
|
- name: setup
|
||||||
|
run: ./setup.sh
|
||||||
|
|
||||||
|
- name: build TS80P
|
||||||
|
run: cd workspace/TS100 && ./build.sh -m TS80P
|
||||||
|
|
||||||
|
- name: Archive TS80P artifacts
|
||||||
|
uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: TS80P
|
||||||
|
path: |
|
||||||
|
workspace/TS100/Hexfile/TS80P_*.hex
|
||||||
|
workspace/TS100/Hexfile/TS80P_*.bin
|
||||||
|
if-no-files-found: error
|
||||||
|
build_TS100:
|
||||||
|
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: chmod
|
||||||
|
run: chmod +x setup.sh && chmod +x workspace/TS100/build.sh
|
||||||
|
|
||||||
|
- name: setup
|
||||||
|
run: ./setup.sh
|
||||||
|
|
||||||
|
- name: build TS100
|
||||||
|
run: cd workspace/TS100 && ./build.sh -m TS100
|
||||||
|
|
||||||
|
- name: Archive TS100 artifacts
|
||||||
|
uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: TS100
|
||||||
|
path: |
|
||||||
|
workspace/TS100/Hexfile/TS100_*.hex
|
||||||
|
workspace/TS100/Hexfile/TS100_*.bin
|
||||||
|
if-no-files-found: error
|
||||||
|
|
||||||
|
build_Pinecil:
|
||||||
|
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: chmod
|
||||||
|
run: chmod +x setup.sh && chmod +x workspace/TS100/build.sh
|
||||||
|
|
||||||
|
- name: setup
|
||||||
|
run: ./setup.sh
|
||||||
|
|
||||||
|
- name: build Pinecil
|
||||||
|
run: cd workspace/TS100 && ./build.sh -m Pinecil
|
||||||
|
|
||||||
|
- name: Archive Pinecil artifacts
|
||||||
|
uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: Pinecil
|
||||||
|
path: |
|
||||||
|
workspace/TS100/Hexfile/Pinecil_*.hex
|
||||||
|
workspace/TS100/Hexfile/Pinecil_*.bin
|
||||||
|
if-no-files-found: error
|
||||||
|
|
||||||
Reference in New Issue
Block a user