38 lines
806 B
YAML
38 lines
806 B
YAML
name: SDCC_4.0.0
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
- github_actions
|
|
tags:
|
|
- '*'
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
- github_actions
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
with:
|
|
submodules: "recursive"
|
|
fetch-depth: 1
|
|
|
|
- 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
|
|
|
|
- name: Build
|
|
working-directory: src/template
|
|
run: make
|
|
|
|
- uses: actions/upload-artifact@v2
|
|
with:
|
|
name: sdcc_template
|
|
path: src/template
|