Skip to content

Commit

Permalink
0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jwunderl committed Mar 13, 2020
1 parent 63c47d6 commit f044fdc
Show file tree
Hide file tree
Showing 8 changed files with 41,199 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
index.html linguist-generated=true
assets/index.html linguist-generated=true
assets/js/loader.js linguist-generated=true
assets/js/binary.js linguist-generated=true
assets/version.txt linguist-generated=true
63 changes: 63 additions & 0 deletions .github/workflows/makecode-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
name: MakeCode Arcade Release

on:
release:
types:
- created
jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [8.x]

steps:
- uses: actions/checkout@v1
- name: install node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: install makecode
run: |
npm install -g pxt
pxt target arcade
- name: build js
run: |
pxt clean
pxt install
pxt build --cloud
- name: build D51
continue-on-error: true
run: |
pxt clean
pxt install --hw samd51
pxt build --hw samd51 --cloud
cp ./built/binary.uf2 binary-d51.uf2
- name: build F4
continue-on-error: true
run: |
pxt clean
pxt install --hw stm32f401
pxt build --hw stm32f401 --cloud
cp ./built/binary.uf2 binary-f4.uf2
- name: build P0
continue-on-error: true
run: |
pxt clean
pxt install --hw rpi
pxt build --hw rpi --cloud
cp ./built/binary.uf2 binary-p0.uf2
- name: bundle all
run: |
cat binary-*.uf2 > built/arcade.uf2
- name: upload bundled
uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: ./built/arcade.uf2
asset_name: arcade.uf2
asset_content_type: application/octet-stream
105 changes: 105 additions & 0 deletions assets/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit f044fdc

Please sign in to comment.