File tree Expand file tree Collapse file tree 4 files changed +7
-34
lines changed Expand file tree Collapse file tree 4 files changed +7
-34
lines changed File renamed without changes.
Original file line number Diff line number Diff line change 15
15
workflow_dispatch :
16
16
17
17
permissions :
18
- contents: read
18
+ contents : write
19
19
pages : write
20
20
id-token : write
21
21
55
55
tags : ffmpeg_input
56
56
push : false
57
57
load : true
58
+ context : .
58
59
59
60
- name : Copy wheels
60
61
run : docker run --rm -v $(pwd)/distfiles:/tmp ffmpeg_input cp -R /opt/dist /tmp
96
97
uses : softprops/action-gh-release@v1
97
98
with :
98
99
files : |
99
- wheels-native-arm/*
100
- wheels-native-x86/*
100
+ *.whl
101
101
env :
102
102
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -16,10 +16,12 @@ RUN cargo chef prepare --recipe-path recipe.json
16
16
FROM chef AS builder
17
17
WORKDIR /opt
18
18
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
20
20
COPY . .
21
21
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
23
25
RUN python3 -m pip install --upgrade pip
24
26
RUN python3 -m pip install dist/*.whl
25
27
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments