Skip to content

Commit

Permalink
travis to arduino-ci
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanTM (Pololu) committed Dec 17, 2020
1 parent 86ed35f commit 6369222
Show file tree
Hide file tree
Showing 6 changed files with 36 additions and 20 deletions.
4 changes: 4 additions & 0 deletions .arduino-ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
only_boards:
- arduino:avr:leonardo
library_archives:
- LSM6=https://github.com/pololu/lsm6-arduino/archive/1.0.0.tar.gz=046cw10nv6cr8624f6j2rw5kf5cazrb9n8sda92m0n2971zc3k48
19 changes: 19 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: "CI"
on:
pull_request:
push:
jobs:
ci:
runs-on: ubuntu-20.04
steps:
- name: Checkout this repository
uses: actions/[email protected]
- name: Cache for arduino-ci
uses: actions/[email protected]
with:
path: |
~/.arduino15
key: ${{ runner.os }}-arduino
- name: Install nix
uses: cachix/install-nix-action@v12
- run: nix-shell -I nixpkgs=channel:nixpkgs-unstable -p arduino-ci --run "arduino-ci"
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
docs
/docs/
/out/
11 changes: 11 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
image: $CI_REGISTRY_IMAGE/nixos/nix:2.3.6

stages:
- ci

ci:
stage: ci
tags:
- nix
script:
- nix-shell -I nixpkgs=channel:nixpkgs-unstable -p arduino-ci --run "arduino-ci"
18 changes: 0 additions & 18 deletions .travis.yml

This file was deleted.

1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

Version: 1.0.2<br/>
Release date: 2017-07-17<br/>
[![Build Status](https://travis-ci.org/pololu/romi-32u4-arduino-library.svg?branch=master)](https://travis-ci.org/pololu/romi-32u4-arduino-library)<br/>
[www.pololu.com](https://www.pololu.com/)

## Summary
Expand Down

0 comments on commit 6369222

Please sign in to comment.