@@ -111,50 +111,24 @@ jobs:
111
111
112
112
# ---------------------------------------
113
113
# Build IAR
114
- # Since IAR Token secret is not passed to forked PR, only build on PR from the same repo
114
+ # Since IAR Token secret is not passed to forked PR, only build non-forked PR with make.
115
+ # cmake is built by circle-ci. Due to IAR limit capacity, only build oe per family
115
116
# ---------------------------------------
116
117
arm-iar :
117
- if : github.repository_owner == 'hathach' && github.event_name == 'push'
118
+ if : github.event_name != 'pull_request' || github.event.pull_request.head.repo.fork == false
118
119
needs : set-matrix
119
120
uses : ./.github/workflows/build_util.yml
120
121
secrets : inherit
121
122
strategy :
122
123
fail-fast : false
123
124
matrix :
124
125
build-system :
125
- - ' cmake '
126
+ - ' make '
126
127
with :
127
128
build-system : ${{ matrix.build-system }}
128
129
toolchain : ' arm-iar'
129
130
build-args : ${{ toJSON(fromJSON(needs.set-matrix.outputs.json)['arm-iar']) }}
130
- one-per-family : ${{ github.event_name == 'push' }}
131
-
132
- # arm-iar:
133
- # if: github.repository_owner == 'hathach' && github.event_name == 'push'
134
- # needs: set-matrix
135
- # runs-on: [self-hosted, Linux, X64, hifiphile]
136
- # env:
137
- # BUILD_ARGS: ${{ join(fromJSON(needs.set-matrix.outputs.json)['arm-iar'], ' ') }}
138
- # IAR_LMS_BEARER_TOKEN: ${{ secrets.IAR_LMS_BEARER_TOKEN }}
139
- # steps:
140
- # - name: Clean workspace
141
- # run: |
142
- # echo "Cleaning up previous run"
143
- # rm -rf "${{ github.workspace }}"
144
- # mkdir -p "${{ github.workspace }}"
145
- #
146
- # - name: Toolchain version
147
- # run: |
148
- # iccarm --version
149
- #
150
- # - name: Checkout TinyUSB
151
- # uses: actions/checkout@v4
152
- #
153
- # - name: Get Dependencies
154
- # run: python3 tools/get_deps.py $BUILD_ARGS
155
- #
156
- # - name: Build
157
- # run: python3 tools/build.py --one-per-family --toolchain iar $BUILD_ARGS
131
+ one-per-family : true
158
132
159
133
# ---------------------------------------
160
134
# Zephyr
0 commit comments