Skip to content

Commit e24951b

Browse files
committed
CI: Try setup Mac OS build
1 parent 4c8991b commit e24951b

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

.github/workflows/build.yaml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,29 @@ jobs:
8282
keep_files: true
8383
destination_dir: builds/${{ github.ref_name }}
8484

85+
build-macos:
86+
runs-on: macos-latest
87+
88+
steps:
89+
- uses: actions/checkout@v4
90+
with:
91+
submodules: true
92+
- name: Install OS dependencies
93+
run: brew install pkg-config libffi
94+
- uses: actions/setup-python@v5
95+
with:
96+
python-version: '3.10'
97+
- uses: actions/checkout@v4
98+
with:
99+
repository: jonnor/micropython
100+
path: micropython
101+
ref: v1.25.0
102+
- name: Build custom firmware with user modules, and tests. Unix/x64
103+
run: make check_unix V=1
104+
- name: Build .mpy modules and run tests Unix/x64
105+
run: make check ARCH=x64 V=1
106+
107+
85108
docs:
86109

87110
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)