|
59 | 59 | uses: actions/upload-artifact@v2
|
60 | 60 | with:
|
61 | 61 | name: cmake.macos.x86_64.tar.bz2
|
62 |
| - path: /Volumes/CrossToolNGNew/cmake.macos.x86_64.tar.bz2 |
| 62 | + path: cmake.macos.x86_64.tar.bz2 |
63 | 63 | - name: "prep to upload"
|
64 | 64 | continue-on-error: true
|
65 | 65 | run: |
|
@@ -114,36 +114,17 @@ jobs:
|
114 | 114 | - name: "build ${{ matrix.sample }} for ${{ matrix.host }}"
|
115 | 115 | run: |
|
116 | 116 | ./go.sh ${{ matrix.sample }}
|
117 |
| - - name: "tar" |
118 |
| - run: | |
119 |
| - export TARGET=${{ matrix.sample }} |
120 |
| - export MACHINE=$(uname -m) |
121 |
| - cd /Volumes/CrossToolNGNew/build/output |
122 |
| - case "${TARGET}" in |
123 |
| - xtensa_*) |
124 |
| - tar --exclude='build.log.bz2' -jcvf ../../${TARGET}.macos.$MACHINE.tar.bz2 xtensa/${TARGET#xtensa_}/*-zephyr-*; |
125 |
| - ;; |
126 |
| - *) |
127 |
| - tar --exclude='build.log.bz2' -jcvf ../../${TARGET}.macos.$MACHINE.tar.bz2 *-zephyr-*; |
128 |
| - ;; |
129 |
| - esac |
130 |
| - - name: "upload xtensa build log" |
131 |
| - if: ${{ always() && startsWith(matrix.sample, 'xtensa') }} |
132 |
| - uses: actions/upload-artifact@v2 |
133 |
| - with: |
134 |
| - name: "${{ matrix.sample }}.${{ matrix.host }}.log" |
135 |
| - path: /Volumes/CrossToolNGNew/build/output/xtensa/*/*-zephyr-*/build.log.bz2 |
136 |
| - - name: "upload not-xtensa build log" |
137 |
| - if: ${{ always() && !startsWith(matrix.sample, 'xtensa') }} |
| 117 | + ls -lstr |
| 118 | + - name: "upload build log" |
138 | 119 | uses: actions/upload-artifact@v2
|
139 | 120 | with:
|
140 | 121 | name: "${{ matrix.sample }}.${{ matrix.host }}.log"
|
141 |
| - path: /Volumes/CrossToolNGNew/build/output/*-zephyr-*/build.log.bz2 |
| 122 | + path: /Volumes/CrossToolNGNew/build/output/build.*.log.bz2 |
142 | 123 | - name: "upload toolchain tarball"
|
143 | 124 | uses: actions/upload-artifact@v2
|
144 | 125 | with:
|
145 |
| - name: "${{ matrix.sample }}.x86_64.tar.bz2" |
146 |
| - path: /Volumes/CrossToolNGNew/${{ matrix.sample }}.x86_64.tar.bz2 |
| 126 | + name: "${{ matrix.sample }}.macos.x86_64.tar.bz2" |
| 127 | + path: ${{ matrix.sample }}.macos.x86_64.tar.bz2 |
147 | 128 |
|
148 | 129 | # Create the actual zephyr toolchain and SDK packages
|
149 | 130 | package:
|
@@ -174,7 +155,7 @@ jobs:
|
174 | 155 | - name: "build toolchains"
|
175 | 156 | run: |
|
176 | 157 | cd scripts
|
177 |
| - ./make_zephyr_sdk.sh x86_64 |
| 158 | + ./make_zephyr_sdk.sh macos x86_64 |
178 | 159 | - name: "upload toolchains"
|
179 | 160 | uses: actions/upload-artifact@v2
|
180 | 161 | with:
|
|
0 commit comments