fix
This commit is contained in:
parent
0933043237
commit
bc579b71b0
63
.github/workflows/CI.yml
vendored
63
.github/workflows/CI.yml
vendored
@ -1,16 +1,9 @@
|
|||||||
name: CI
|
name: project
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
paths:
|
||||||
- master
|
- 'project/**'
|
||||||
# on:
|
|
||||||
# push:
|
|
||||||
# paths:
|
|
||||||
# - 'src/**'
|
|
||||||
# pull_request:
|
|
||||||
# paths:
|
|
||||||
# - 'src/**'
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
CodeCheck:
|
CodeCheck:
|
||||||
@ -50,7 +43,15 @@ jobs:
|
|||||||
path: codecheck.txt
|
path: codecheck.txt
|
||||||
|
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
items:
|
||||||
|
- "JTAG"
|
||||||
|
- "jump_to_bl"
|
||||||
|
- "si5351"
|
||||||
|
os: [ubuntu-latest]
|
||||||
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- name: Check out
|
- name: Check out
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
@ -66,43 +67,13 @@ jobs:
|
|||||||
|
|
||||||
- name: Build project
|
- name: Build project
|
||||||
if: success()
|
if: success()
|
||||||
working-directory: project/JTAG
|
working-directory: project
|
||||||
run: |
|
run: |
|
||||||
make
|
make -C ${{ matrix.items }}
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v2
|
||||||
|
if: success()
|
||||||
with:
|
with:
|
||||||
name: sdcc_project
|
name: build_project
|
||||||
path: project/JTAG
|
path: project/${{ matrix.items }}
|
||||||
|
|
||||||
|
|
||||||
# - name: Download
|
|
||||||
# working-directory: src
|
|
||||||
# run: |
|
|
||||||
# wget https://developer.arm.com/-/media/Files/downloads/gnu-rm/10-2020q4/gcc-arm-none-eabi-10-2020-q4-major-x86_64-linux.tar.bz2
|
|
||||||
# tar -xf gcc-arm-none-eabi-10-2020-q4-major-x86_64-linux.tar.bz2
|
|
||||||
|
|
||||||
# - name: Build
|
|
||||||
# working-directory: src
|
|
||||||
# run: |
|
|
||||||
# mkdir build && cd build
|
|
||||||
# # cmake -DMCU_TYPE=MM32F031 -D CROSS_COMPILER_PATH=../gcc-arm-none-eabi-10-2020-q4-major .. && make
|
|
||||||
# # mkdir -p ./output && cp *.elf "$_"
|
|
||||||
# # make clean
|
|
||||||
|
|
||||||
# - name: Build
|
|
||||||
# working-directory: src
|
|
||||||
# run: |
|
|
||||||
# mkdir build && cd build
|
|
||||||
# cmake -DMCU_TYPE=MM32F031 -D CROSS_COMPILER_PATH=../gcc-arm-none-eabi-10-2020-q4-major ..
|
|
||||||
|
|
||||||
# - name: output
|
|
||||||
# run: |
|
|
||||||
# mkdir src/output
|
|
||||||
|
|
||||||
# - name: Action build
|
|
||||||
# uses: Qful/cmake-action@master
|
|
||||||
# with:
|
|
||||||
# source-dir: src
|
|
||||||
# build-dir: src/output
|
|
||||||
# parallel: 8
|
|
||||||
|
15
.github/workflows/linux-sdcc-4.0.0.yml
vendored
15
.github/workflows/linux-sdcc-4.0.0.yml
vendored
@ -1,16 +1,9 @@
|
|||||||
name: SDCC_4.0.0
|
name: template
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
paths:
|
||||||
- master
|
- 'src/**'
|
||||||
- github_actions
|
|
||||||
tags:
|
|
||||||
- '*'
|
|
||||||
pull_request:
|
|
||||||
branches:
|
|
||||||
- master
|
|
||||||
- github_actions
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
@ -34,4 +27,4 @@ jobs:
|
|||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: sdcc_template
|
name: sdcc_template
|
||||||
path: src/template
|
path: src/template/out
|
||||||
|
Loading…
Reference in New Issue
Block a user