Skip to content

Commit 4365459

Browse files
author
bwsw
committed
final fixed build
1 parent 3815284 commit 4365459

File tree

4 files changed

+7
-34
lines changed

4 files changed

+7
-34
lines changed
File renamed without changes.

.github/workflows/ci.yml.bak renamed to .github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ on:
1515
workflow_dispatch:
1616

1717
permissions:
18-
contents: read
18+
contents: write
1919
pages: write
2020
id-token: write
2121

@@ -55,6 +55,7 @@ jobs:
5555
tags: ffmpeg_input
5656
push: false
5757
load: true
58+
context: .
5859

5960
- name: Copy wheels
6061
run: docker run --rm -v $(pwd)/distfiles:/tmp ffmpeg_input cp -R /opt/dist /tmp
@@ -96,7 +97,6 @@ jobs:
9697
uses: softprops/action-gh-release@v1
9798
with:
9899
files: |
99-
wheels-native-arm/*
100-
wheels-native-x86/*
100+
*.whl
101101
env:
102102
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

docker/Dockerfile.u2004

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,12 @@ RUN cargo chef prepare --recipe-path recipe.json
1616
FROM chef AS builder
1717
WORKDIR /opt
1818
COPY --from=planner /opt/recipe.json recipe.json
19-
RUN cargo chef cook --recipe-path recipe.json
19+
RUN cargo chef cook --release --recipe-path recipe.json
2020
COPY . .
2121

22-
RUN maturin build --manylinux off --out dist
22+
ENV RUSTFLAGS=" -C target-cpu=native -C opt-level=3"
23+
24+
RUN maturin build --release --manylinux off --out dist
2325
RUN python3 -m pip install --upgrade pip
2426
RUN python3 -m pip install dist/*.whl
2527

docker/Dockerfile.u2004.bak

Lines changed: 0 additions & 29 deletions
This file was deleted.

0 commit comments

Comments
 (0)