Skip to content

Commit f0c9901

Browse files
committed
ci: Fix windows deep-filter build
1 parent af5d24a commit f0c9901

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/publish.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ jobs:
274274
# Emit backtraces on panics.
275275
RUST_BACKTRACE: 1
276276
strategy:
277-
fail-fast: true
277+
fail-fast: false
278278
matrix:
279279
build: [linux-x86, linux-arm-v7, linux-arm-aarch64, macos-x86, macos-aarch64, win-msvc]
280280
include:
@@ -296,6 +296,7 @@ jobs:
296296
- build: win-msvc
297297
os: windows-2022
298298
target: x86_64-pc-windows-msvc
299+
ext: .exe
299300
defaults:
300301
run:
301302
shell: bash
@@ -323,14 +324,14 @@ jobs:
323324
echo "target dir is: ${{ env.TARGET_DIR }}"
324325
echo "DF_VERSION=${{ needs.create-release.outputs.df_version }}" >> $GITHUB_ENV
325326
echo "DF version is: ${{ env.DF_VERSION }}"
326-
echo "DF_BIN_NAME=deep-filter-${{ env.DF_VERSION }}-${{ matrix.target }}" >> $GITHUB_ENV
327+
echo "DF_BIN_NAME=deep-filter-${{ env.DF_VERSION }}-${{ matrix.target }}${{ matrix.ext }}" >> $GITHUB_ENV
327328
328329
- name: Build release binary
329330
run: ${{ env.CARGO }} build --verbose --features bin,tract,use-jemalloc,wav-utils --profile=release-lto -p deep_filter --bin deep-filter ${{ env.TARGET_FLAGS }}
330331

331332
- name: Rename to target
332333
run: |
333-
mv "target/${{ matrix.target }}/release-lto/deep-filter" "${{ env.TARGET_DIR }}/${{ env.DF_BIN_NAME }}"
334+
mv "target/${{ matrix.target }}/release-lto/deep-filter${{ matrix.ext }}" "${{ env.TARGET_DIR }}/${{ env.DF_BIN_NAME }}"
334335
chmod +x "${{ env.TARGET_DIR }}/${{ env.DF_BIN_NAME }}"
335336
336337
- uses: actions/upload-artifact@v3

0 commit comments

Comments
 (0)