|
7 | 7 | branches: [ "master" ] |
8 | 8 |
|
9 | 9 | jobs: |
10 | | - build-macos-x86: |
11 | | - runs-on: macos-13 |
12 | | - steps: |
13 | | - - name: Ensure architecture is x86_64 |
14 | | - run: | |
15 | | - if [[ "$(uname -m)" != "x86_64" ]]; then |
16 | | - echo "Error: Expected x86_64 architecture but got $(uname -m)" >&2 |
17 | | - exit 1 |
18 | | - fi |
19 | | - - uses: actions/checkout@v4 |
20 | | - - name: install deps |
21 | | - run: brew install automake texinfo coreutils |
22 | | - - name: Build and Upload OpenOCD artifact |
23 | | - uses: ./.github/actions/common-build-steps |
24 | | - with: |
25 | | - arch: macos-x86 |
| 10 | + # not used because the build is expensive |
| 11 | + #build-macos-x86: |
| 12 | + # runs-on: macos-13 |
| 13 | + # steps: |
| 14 | + # - name: Ensure architecture is x86_64 |
| 15 | + # run: | |
| 16 | + # if [[ "$(uname -m)" != "x86_64" ]]; then |
| 17 | + # echo "Error: Expected x86_64 architecture but got $(uname -m)" >&2 |
| 18 | + # exit 1 |
| 19 | + # fi |
| 20 | + # - uses: actions/checkout@v4 |
| 21 | + # - name: install deps |
| 22 | + # run: brew install automake texinfo coreutils |
| 23 | + # - name: Build and Upload OpenOCD artifact |
| 24 | + # uses: ./.github/actions/common-build-steps |
| 25 | + # with: |
| 26 | + # arch: macos-x86 |
26 | 27 |
|
27 | | - build-macos-arm64: |
28 | | - runs-on: macos-latest |
29 | | - steps: |
30 | | - - name: Ensure architecture is arm64 |
31 | | - run: | |
32 | | - if [[ "$(uname -m)" != "arm64" ]]; then |
33 | | - echo "Error: Expected arm64 architecture but got $(uname -m)" >&2 |
34 | | - exit 1 |
35 | | - fi |
36 | | - - uses: actions/checkout@v4 |
37 | | - - name: install deps |
38 | | - run: brew install automake libtool texinfo coreutils |
39 | | - - name: Build and Upload OpenOCD artifact |
40 | | - uses: ./.github/actions/common-build-steps |
41 | | - with: |
42 | | - arch: macos-arm64 |
| 28 | + # not used because the build is expensive |
| 29 | + #build-macos-arm64: |
| 30 | + # runs-on: macos-latest |
| 31 | + # steps: |
| 32 | + # - name: Ensure architecture is arm64 |
| 33 | + # run: | |
| 34 | + # if [[ "$(uname -m)" != "arm64" ]]; then |
| 35 | + # echo "Error: Expected arm64 architecture but got $(uname -m)" >&2 |
| 36 | + # exit 1 |
| 37 | + # fi |
| 38 | + # - uses: actions/checkout@v4 |
| 39 | + # - name: install deps |
| 40 | + # run: brew install automake libtool texinfo coreutils |
| 41 | + # - name: Build and Upload OpenOCD artifact |
| 42 | + # uses: ./.github/actions/common-build-steps |
| 43 | + # with: |
| 44 | + # arch: macos-arm64 |
43 | 45 |
|
44 | 46 | build-linux: |
45 | 47 | runs-on: ubuntu-latest |
|
0 commit comments