CH552/.github/workflows/linux-sdcc-4.0.0.yml

31 lines
694 B
YAML
Raw Normal View History

2021-05-17 05:39:02 +02:00
name: template
2021-05-17 05:27:15 +02:00
on:
push:
2021-05-17 05:39:02 +02:00
paths:
- 'src/**'
2021-05-17 05:27:15 +02:00
jobs:
build:
runs-on: ubuntu-latest
steps:
2021-05-17 05:32:24 +02:00
- uses: actions/checkout@v2
with:
submodules: "recursive"
fetch-depth: 1
2021-05-17 05:27:15 +02:00
2021-05-17 05:32:24 +02:00
- name: Install sdcc
run: |
wget https://sourceforge.net/projects/sdcc/files/sdcc-linux-amd64/4.0.0/sdcc-4.0.0-amd64-unknown-linux2.5.tar.bz2
tar -xf sdcc-4.0.0-amd64-unknown-linux2.5.tar.bz2
echo `pwd`/sdcc-4.0.0/bin >> $GITHUB_PATH
2021-05-17 05:27:15 +02:00
2021-05-17 05:32:24 +02:00
- name: Build
working-directory: src/template
run: make
2021-05-17 05:27:15 +02:00
2021-05-17 05:32:24 +02:00
- uses: actions/upload-artifact@v2
with:
name: sdcc_template
2021-05-17 05:39:02 +02:00
path: src/template/out