Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
nerdralph committed Oct 9, 2020
2 parents 8b34260 + 1632fab commit 7b60d30
Show file tree
Hide file tree
Showing 4 changed files with 59 additions and 8 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/linux-sdcc-4.0.0.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Linux build (SDCC 4.0.0)

on:
push:
branches:
- master
- github_actions
tags:
- '*'
pull_request:
branches:
- master
- github_actions

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Check out
uses: actions/checkout@v2

- name: Download 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 examples
run: make
working-directory: examples
28 changes: 28 additions & 0 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Linux build (default SDCC)

on:
push:
branches:
- master
- github_actions
tags:
- '*'
pull_request:
branches:
- master
- github_actions

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Check out
uses: actions/checkout@v2

- name: Install SDCC
run: sudo apt-get install -y sdcc

- name: Build examples
run: make
working-directory: examples
7 changes: 0 additions & 7 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# CH554 software development kit for SDCC [![Build Status](https://travis-ci.org/Blinkinlabs/ch554_sdcc.svg?branch=master)](https://travis-ci.org/Blinkinlabs/ch554_sdcc)
# CH554 software development kit for SDCC ![Linux build](https://github.com/Blinkinlabs/ch554_sdcc/workflows/Linux%20build/badge.svg)

![image](https://raw.githubusercontent.com/Blinkinlabs/ch554_sdcc/master/documentation/devboard.png)

Expand Down

0 comments on commit 7b60d30

Please sign in to comment.