File tree Expand file tree Collapse file tree 3 files changed +77
-46
lines changed Expand file tree Collapse file tree 3 files changed +77
-46
lines changed Original file line number Diff line number Diff line change
1
+ name : Build
2
+
3
+ on :
4
+ push :
5
+ branches : ' *'
6
+ pull_request :
7
+ branches : ' *'
8
+
9
+ jobs :
10
+ compile :
11
+ strategy :
12
+ fail-fast : false
13
+ matrix :
14
+ variant :
15
+ - nRF52DK
16
+ - BluzDK
17
+ - RedBearLab_nRF51822:version=1_0
18
+ - BBCmicrobit
19
+ - BBCmicrobitV2
20
+ - CalliopeMini
21
+ - Generic_nRF51822:chip=xxac
22
+ - Generic_nRF52832
23
+ - Generic_nRF52833
24
+ - OSHChip
25
+ - STCT_nRF52_minidev
26
+ - PCA1000X:board_variant=pca10000
27
+ - PCA1000X:board_variant=pca10001
28
+ - PCA1000X:board_variant=nrf6310
29
+ - nRF51Dongle:version=1_1_0
30
+ - Blend2
31
+ - BLENano
32
+ - BLENano2
33
+ - TinyBLE
34
+ - bluey
35
+ - hackaBLE
36
+ - hackaBLE_v2
37
+ - Sinobit
38
+ - DWM1001-DEV
39
+ - SeeedArchLink
40
+ - Beacon_PCA20006
41
+ - Waveshare_BLE400
42
+ - ng_beacon
43
+ runs-on : ubuntu-latest
44
+ name : Compile ${{ matrix.variant }}
45
+ steps :
46
+ - uses : actions/checkout@v3
47
+ - name : Create blinky sketch to compile
48
+ run : |
49
+ mkdir blinky
50
+ cat > blinky/blinky.ino << EOF
51
+ void setup() {
52
+ pinMode(LED_BUILTIN, OUTPUT);
53
+ }
54
+
55
+ void loop() {
56
+ digitalWrite(LED_BUILTIN, HIGH);
57
+ delay(1000);
58
+ digitalWrite(LED_BUILTIN, LOW);
59
+ delay(1000);
60
+ }
61
+ EOF
62
+ - uses : arduino/compile-sketches@v1
63
+ with :
64
+ cli-version : latest
65
+ verbose : true
66
+ enable-deltas-report : true
67
+ platforms : |
68
+ # First we have to install this core so that the tooling is installed
69
+ - name: "sandeepmistry:nRF5"
70
+ source-url: "https://sandeepmistry.github.io/arduino-nRF5/package_nRF5_boards_index.json"
71
+ version: latest
72
+ # Now, this will overwrite the core source to use the local version
73
+ - name: "sandeepmistry:nRF5"
74
+ source-path: .
75
+ fqbn : " sandeepmistry:nRF5:${{ matrix.variant }}"
76
+ sketch-paths : blinky
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
# Arduino Core for Nordic Semiconductor nRF5 based boards
2
2
3
- [ ![ Build Status] ( https://travis-ci.org /sandeepmistry/arduino-nRF5. svg?branch=master )] ( https://travis-ci.org /sandeepmistry/arduino-nRF5 ) [ ![ OpenCollective] ( https://opencollective.com/arduino-nRF5/backers/badge.svg )] ( #backers )
3
+ [ ![ Build Status] ( https://github.com /sandeepmistry/arduino-nRF5/actions/workflows/compile.yml/badge. svg )] ( https://github.com /sandeepmistry/arduino-nRF5/actions/workflows/compile.yml ) [ ![ OpenCollective] ( https://opencollective.com/arduino-nRF5/backers/badge.svg )] ( #backers )
4
4
[ ![ OpenCollective] ( https://opencollective.com/arduino-nRF5/sponsors/badge.svg )] ( #sponsors )
5
5
6
6
You can’t perform that action at this time.
0 commit comments