forked from picolibc/picolibc
-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (35 loc) · 973 Bytes
/
macos.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: Mac OS X
on:
push:
branches:
- main
pull_request:
branches:
- main
# When a PR is updated, cancel the jobs from the previous version. Merges
# do not define head_ref, so use run_id to never cancel those jobs.
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
env:
# 20M measured cache size (August 2023).
CCACHE_SIZE: "25M"
jobs:
macos:
runs-on: macos-latest
steps:
- name: Clone picolibc
uses: actions/checkout@v4
- name: Setup python
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install meson and ninja
run: pip install meson ninja
- name: ccache
uses: hendrikmuhs/[email protected]
with:
key: compilation-${{ runner.os }}-${{ github.job }}
max-size: ${{ env.CCACHE_SIZE }}
- name: MacOS tests
run: ./.github/do-arm