|
29 | 29 | - { os: ubuntu-latest, shell: bash, |
30 | 30 | directory: send_sid, buildname: send_sid } |
31 | 31 | - { os: windows-2022, shell: 'msys2 {0}', |
32 | | - directory: config-tool, buildname: cfg_usbsid } |
| 32 | + directory: config-tool, buildname: cfg_usbsid.exe } |
33 | 33 | - { os: windows-2022, shell: 'msys2 {0}', |
34 | | - directory: send_sid, buildname: send_sid } |
| 34 | + directory: send_sid, buildname: send_sid.exe } |
35 | 35 | defaults: |
36 | 36 | run: |
37 | 37 | shell: ${{ matrix.shell }} |
@@ -62,12 +62,18 @@ jobs: |
62 | 62 | mingw-w64-x86_64-pkg-config |
63 | 63 | mingw-w64-x86_64-ninja |
64 | 64 |
|
| 65 | + - name: Remove pre-built binaries |
| 66 | + run: | |
| 67 | + pushd master/examples/${{ matrix.directory }} |
| 68 | + ls -lhai *.dll ${{ matrix.buildname }}* |
| 69 | + rm ${{ matrix.buildname }} ${{ matrix.buildname }}.exe |
| 70 | + popd |
| 71 | +
|
65 | 72 | - name: Configure and build ${{ matrix.buildname }} |
66 | 73 | run: | |
67 | 74 | pushd master/examples/${{ matrix.directory }} |
68 | 75 | cmake -S . -B build && cmake --build build -j$(nproc) |
69 | | - pwd |
70 | | - ls -lhai |
| 76 | + ls -lhai *.dll ${{ matrix.buildname }}* |
71 | 77 | popd |
72 | 78 |
|
73 | 79 | - name: Upload |
|
76 | 82 | name: ${{ matrix.buildname }}-${{ matrix.os }} |
77 | 83 | path: | |
78 | 84 | master/examples/${{ matrix.directory }}/${{ matrix.buildname }} |
79 | | - master/examples/${{ matrix.directory }}/${{ matrix.buildname }}.exe |
| 85 | + ${{ matrix.os == 'windows-2022' && format('master/examples/{0}/*.dll', matrix.directory) || '' }} |
80 | 86 | if-no-files-found: ignore |
0 commit comments