Skip to content
This repository was archived by the owner on Dec 23, 2021. It is now read-only.

Commit 19ce7da

Browse files
Merge pull request #317 from microsoft/dev
Official micro:bit release
2 parents 9248f2a + b71bc27 commit 19ce7da

File tree

186 files changed

+74895
-40568
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

186 files changed

+74895
-40568
lines changed

.github/workflows/ci.yml

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
# This workflow will do a clean install of node dependencies, python dependencies, build the source code and run tests
2+
3+
name: CI
4+
5+
on:
6+
push:
7+
branches: [ dev, staging ]
8+
pull_request:
9+
branches: [ dev, staging ]
10+
11+
jobs:
12+
build-and-test:
13+
14+
runs-on: ${{ matrix.os }}
15+
16+
strategy:
17+
fail-fast: false
18+
matrix:
19+
os: [macos-latest, windows-latest, ubuntu-18.04]
20+
node-version: [10.x]
21+
22+
steps:
23+
- uses: actions/checkout@v2
24+
- name: Install Linux dependencies
25+
if: matrix.os == 'ubuntu-18.04'
26+
run: |
27+
sudo apt-get update
28+
sudo apt-get install g++-multilib
29+
sudo apt-get install -y build-essential
30+
sudo apt-get install libudev-dev
31+
- name: Use Node.js ${{ matrix.node-version }} and install npm dependencies
32+
uses: actions/setup-node@v1
33+
with:
34+
node-version: ${{ matrix.node-version }}
35+
- run: npm install
36+
- name: Setup Python environment
37+
uses: actions/[email protected]
38+
with:
39+
python-version: 3.x
40+
- run: |
41+
python -m pip install --upgrade pip
42+
pip install -r ./src/dev-requirements.txt
43+
- name: Use npm to compile, format-check and test
44+
uses: actions/setup-node@v1
45+
with:
46+
node-version: ${{ matrix.node-version }}
47+
- run: npm run compile
48+
- run: npm run check
49+
- name: Run tests
50+
uses: GabrielBB/[email protected]
51+
with:
52+
run: npm run test

.vscode/settings.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
},
66
"search.exclude": {
77
"out": true // set this to false to include "out" folder in search results
8-
},
8+
}
99
// Turn off tsc task auto detection since we have the necessary tasks as npm scripts
10-
"typescript.tsc.autoDetect": "off"
1110
}

README.md

Lines changed: 220 additions & 127 deletions
Large diffs are not rendered by default.
Binary file not shown.
476 KB
Loading

assets/readmeFiles/clue/clue.png

105 KB
Loading
182 KB
Loading

assets/readmeFiles/cpx/cpx-deploy.png

8.65 KB
Loading

assets/readmeFiles/cpx/cpx-img.png

93.1 KB
Loading
313 KB
Loading

0 commit comments

Comments
 (0)