File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 8787 cd build
8888 cmake -DCMAKE_C_COMPILER=${{ matrix.cross_compile }}-gcc -DCMAKE_CXX_COMPILER=${{ matrix.cross_compile }}-g++ -DLIBUSB_LIBRARIES=$LIBUSBUDEV -DLIBUSB_INCLUDE_DIR=$LIBUSB_DIR ..
8989 make
90+ mv picotool${{ matrix.extension }} /tmp/
9091 if : matrix.os != 'darwin'
9192
9293 - name : build picotool for macos
9697 cd build
9798 cmake -DCMAKE_C_COMPILER=${{ matrix.cross_compiler }} -DCMAKE_CXX_COMPILER=${{ matrix.cross_compiler }}++ -DCMAKE_CXX_FLAGS="-framework IOKit -framework Cocoa" -DLIBUSB_LIBRARIES=$LIBUSBUDEV -DLIBUSB_INCLUDE_DIR=$LIBUSB_DIR ..
9899 make
100+ mv picotool${{ matrix.extension }} /tmp/
99101 if : matrix.os == 'darwin'
100102
101103 - name : build elf2uf2
@@ -106,6 +108,7 @@ jobs:
106108 cd build
107109 cmake -DCMAKE_C_COMPILER=${{ matrix.cross_compile }}-gcc -DCMAKE_CXX_COMPILER=${{ matrix.cross_compile }}-g++ ..
108110 make
111+ mv elf2uf2${{ matrix.extension }} /tmp/
109112 if : matrix.os != 'darwin'
110113
111114 - name : build elf2uf2 for macos
@@ -115,12 +118,13 @@ jobs:
115118 cd build
116119 cmake -DCMAKE_C_COMPILER=${{ matrix.cross_compiler }} -DCMAKE_CXX_COMPILER=${{ matrix.cross_compiler }}++ -DCMAKE_CXX_FLAGS="-framework IOKit -framework Cocoa" ..
117120 make
121+ mv elf2uf2${{ matrix.extension }} /tmp/
118122 if : matrix.os == 'darwin'
119123
120124 - name : upload artifacts
121125 uses : actions/upload-artifact@v2
122126 with :
123127 name : ${{matrix.os}}_${{matrix.arch}}
124128 path : |
125- ${{ github.workspace }}/pico-sdk/tools/elf2uf2/build /elf2uf2${{ matrix.extension }}
126- ${{ github.workspace }}/picotool/build /picotool${{ matrix.extension }}
129+ /tmp /elf2uf2${{ matrix.extension }}
130+ /tmp /picotool${{ matrix.extension }}
You can’t perform that action at this time.
0 commit comments