1
0
forked from me/IronOS
This commit is contained in:
Ben V. Brown
2020-11-01 12:17:50 +11:00
parent a582af984e
commit bc4910a8c7

View File

@@ -1,103 +1,98 @@
name: CI PR name: CI PR
on: [pull_request] on: [push]
jobs: jobs:
build_TS80: 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 setup.sh && chmod +x workspace/TS100/build.sh run: chmod +x setup.sh && chmod +x workspace/TS100/build.sh
- name: setup - name: setup
run: ./setup.sh run: ./setup.sh
- name: build TS80 - name: build TS80
run: cd workspace/TS100 && ./build.sh -m TS80 run: cd workspace/TS100 && ./build.sh -m TS80
- name: Archive TS80 artifacts - name: Archive TS80 artifacts
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
with: with:
name: TS80 name: TS80
path: | path: |
workspace/TS100/Hexfile/TS80_*.hex workspace/TS100/Hexfile/TS80_*.hex
workspace/TS100/Hexfile/TS80_*.bin workspace/TS100/Hexfile/TS80_*.bin
if-no-files-found: error if-no-files-found: error
build_TS80P: build_TS80P:
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 setup.sh && chmod +x workspace/TS100/build.sh run: chmod +x setup.sh && chmod +x workspace/TS100/build.sh
- name: setup - name: setup
run: ./setup.sh run: ./setup.sh
- name: build TS80P - name: build TS80P
run: cd workspace/TS100 && ./build.sh -m TS80P run: cd workspace/TS100 && ./build.sh -m TS80P
- name: Archive TS80P artifacts - name: Archive TS80P artifacts
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
with: with:
name: TS80P name: TS80P
path: | path: |
workspace/TS100/Hexfile/TS80P_*.hex workspace/TS100/Hexfile/TS80P_*.hex
workspace/TS100/Hexfile/TS80P_*.bin workspace/TS100/Hexfile/TS80P_*.bin
if-no-files-found: error if-no-files-found: error
build_TS100: build_TS100:
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 setup.sh && chmod +x workspace/TS100/build.sh run: chmod +x setup.sh && chmod +x workspace/TS100/build.sh
- name: setup - name: setup
run: ./setup.sh run: ./setup.sh
- name: build TS100 - name: build TS100
run: cd workspace/TS100 && ./build.sh -m TS100 run: cd workspace/TS100 && ./build.sh -m TS100
- name: Archive TS100 artifacts - name: Archive TS100 artifacts
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
with: with:
name: TS100 name: TS100
path: | path: |
workspace/TS100/Hexfile/TS100_*.hex workspace/TS100/Hexfile/TS100_*.hex
workspace/TS100/Hexfile/TS100_*.bin workspace/TS100/Hexfile/TS100_*.bin
if-no-files-found: error if-no-files-found: error
build_Pinecil: build_Pinecil:
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 setup.sh && chmod +x workspace/TS100/build.sh run: chmod +x setup.sh && chmod +x workspace/TS100/build.sh
- name: setup - name: setup
run: ./setup.sh run: ./setup.sh
- name: build Pinecil - name: build Pinecil
run: cd workspace/TS100 && ./build.sh -m Pinecil run: cd workspace/TS100 && ./build.sh -m Pinecil
- name: Archive Pinecil artifacts - name: Archive Pinecil artifacts
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
with: with:
name: Pinecil name: Pinecil
path: | path: |
workspace/TS100/Hexfile/Pinecil_*.hex workspace/TS100/Hexfile/Pinecil_*.hex
workspace/TS100/Hexfile/Pinecil_*.bin workspace/TS100/Hexfile/Pinecil_*.bin
if-no-files-found: error if-no-files-found: error