Skip to content

Commit d00684c

Browse files
committed
1.0.1
1 parent 88c0e70 commit d00684c

File tree

8 files changed

+39235
-1
lines changed

8 files changed

+39235
-1
lines changed

.gitattributes

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
index.html linguist-generated=true
2+
assets/index.html linguist-generated=true
3+
assets/js/loader.js linguist-generated=true
4+
assets/js/binary.js linguist-generated=true
5+
assets/version.txt linguist-generated=true
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
name: MakeCode Arcade Release
2+
3+
on:
4+
release:
5+
types:
6+
- created
7+
jobs:
8+
build:
9+
10+
runs-on: ubuntu-latest
11+
12+
strategy:
13+
matrix:
14+
node-version: [8.x]
15+
16+
steps:
17+
- uses: actions/checkout@v1
18+
- name: install node.js ${{ matrix.node-version }}
19+
uses: actions/setup-node@v1
20+
with:
21+
node-version: ${{ matrix.node-version }}
22+
- name: install makecode
23+
run: |
24+
npm install -g pxt
25+
pxt target arcade
26+
- name: build js
27+
run: |
28+
pxt clean
29+
pxt install
30+
pxt build --cloud
31+
- name: build D51
32+
continue-on-error: true
33+
run: |
34+
pxt clean
35+
pxt install --hw samd51
36+
pxt build --hw samd51 --cloud
37+
cp ./built/binary.uf2 binary-d51.uf2
38+
- name: build F4
39+
continue-on-error: true
40+
run: |
41+
pxt clean
42+
pxt install --hw stm32f401
43+
pxt build --hw stm32f401 --cloud
44+
cp ./built/binary.uf2 binary-f4.uf2
45+
- name: build P0
46+
continue-on-error: true
47+
run: |
48+
pxt clean
49+
pxt install --hw rpi
50+
pxt build --hw rpi --cloud
51+
cp ./built/binary.uf2 binary-p0.uf2
52+
- name: bundle all
53+
run: |
54+
cat binary-*.uf2 > built/arcade.uf2
55+
- name: upload bundled
56+
uses: actions/upload-release-asset@v1.0.1
57+
env:
58+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
59+
with:
60+
upload_url: ${{ github.event.release.upload_url }}
61+
asset_path: ./built/arcade.uf2
62+
asset_name: arcade.uf2
63+
asset_content_type: application/octet-stream

assets/index.html

Lines changed: 105 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)