Skip to content

Commit 552f4af

Browse files
authored
CI: github action (#269)
1 parent e51574c commit 552f4af

File tree

3 files changed

+55
-138
lines changed

3 files changed

+55
-138
lines changed

.circleci/config.yml

-18
This file was deleted.

.github/workflows/main.yml

+55
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
name: Build example application
2+
3+
on:
4+
pull_request:
5+
push:
6+
7+
jobs:
8+
build-cli-v1:
9+
container:
10+
image: ghcr.io/armmbed/mbed-os-env:master-latest
11+
12+
runs-on: ubuntu-latest
13+
14+
strategy:
15+
matrix:
16+
target: [K64F, DISCO_L475VG_IOT01A, NRF52840_DK]
17+
profile: [release, debug, develop]
18+
19+
20+
steps:
21+
-
22+
name: Checkout
23+
uses: actions/checkout@v2
24+
25+
-
26+
name: build-example
27+
run: |
28+
set -e
29+
mbed deploy
30+
mbed compile -t GCC_ARM -m ${{ matrix.target }} --profile ${{ matrix.profile }}
31+
32+
33+
build-cli-v2:
34+
container:
35+
image: ghcr.io/armmbed/mbed-os-env:master-latest
36+
37+
runs-on: ubuntu-latest
38+
39+
strategy:
40+
matrix:
41+
target: [K64F, DISCO_L475VG_IOT01A, NRF52840_DK]
42+
profile: [release, debug, develop]
43+
44+
45+
steps:
46+
-
47+
name: Checkout
48+
uses: actions/checkout@v2
49+
50+
-
51+
name: build-example-application
52+
run: |
53+
set -e
54+
mbed-tools deploy
55+
mbed-tools compile -t GCC_ARM -m ${{ matrix.target }} --profile ${{ matrix.profile }}

.travis.yml

-120
This file was deleted.

0 commit comments

Comments
 (0)