8000 Attempt #1 to build a release workflow · natecarlson/rm520-micropython@ce1472d · GitHub
[go: up one dir, main page]

Skip to content

Commit ce1472d

Browse files
committed
Attempt micropython#1 to build a release workflow
1 parent 97159bd commit ce1472d

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed

.github/workflows/release.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: unix port
2+
3+
on:
4+
#push:
5+
# pull_request:
6+
# paths:
7+
# - '.github/workflows/*.yml'
8+
# - 'tools/**'
9+
# - 'py/**'
10+
# - 'extmod/**'
11+
# - 'shared/**'
12+
# - 'lib/**'
13+
# - 'examples/**'
14+
# - 'mpy-cross/**'
15+
# - 'ports/unix/**'
16+
# - 'tests/**'
17+
workflow_dispatch:
18+
release:
19+
types:
20+
- created
21+
22+
concurrency:
23+
group: ${{ github.workflow }}-${{ github.ref }}
24+
cancel-in-progress: true
25+
26+
jobs:
27+
build_qemu_arm:
28+
runs-on: ubuntu-20.04
29+
steps:
30+
- name: Run the build process with Docker
31+
uses: docker://ghcr.io/natecarlson/rm520-modem-buildenv:main
32+
- uses: actions/checkout@v3
33+
- name: Build compiler
34+
run: make -C mpy-cross
35+
- name: Pull in submodules
36+
run: make -C ports/unix submodules
37+
- name: Build
38+
run: make -C ports/unix
39+
- name: Copy build-artifacts
40+
uses: skx/github-action-publish-binaries@master
41+
env:
42+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
43+
with:
44+
args: "ports/unix/build-standard/micropython"

0 commit comments

Comments
 (0)
0