This commit is contained in:
Michal Moskal 2020-05-30 10:43:44 -07:00
Родитель 2f897fb5a8
Коммит f6f6e0c5e5
1 изменённых файлов: 23 добавлений и 4 удалений

27
.github/workflows/c-cpp.yml поставляемый
Просмотреть файл

@ -8,6 +8,8 @@ on:
jobs:
build:
env:
GCC_VERSION: '9-2019-q4'
runs-on: ubuntu-latest
@ -18,10 +20,27 @@ jobs:
- uses: actions/setup-node@v2-beta
with:
node-version: 'v12'
- uses: fiam/arm-none-eabi-gcc@v1
- name: Restore ARM GCC Cache
id: arm-gcc-cache
uses: actions/cache@v2
with:
release: '9-2019-q4'
path: arm-gcc
key: ${{ runner.os }}-arm-gcc-${{ env.GCC_VERSION }}
- name: Install ARM GCC
if: steps.arm-gcc-cache.outputs.cache-hit != 'true'
uses: fiam/arm-none-eabi-gcc@v1
with:
release: ${{ env.GCC_VERSION }}
directory: arm-gcc
- name: Save ARM GCC cache
if: steps.arm-gcc-cache.outputs.cache-hit != 'true'
uses: actions/cache@v2
with:
path: arm-gcc
key: ${{ runner.os }}-arm-gcc-${{ env.GCC_VERSION }}
- name: set PATH
run: echo "::add-path::arm-gcc"
- name: make
run: make TARGET=jm-v2.0 drop