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 1515 workflow_dispatch :
1616
1717permissions :
18- contents: read
18+ contents : write
1919 pages : write
2020 id-token : write
2121
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
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 }}
Original file line number Diff line number Diff line change @@ -16,10 +16,12 @@ RUN cargo chef prepare --recipe-path recipe.json
1616FROM chef AS builder
1717WORKDIR /opt
1818COPY --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
2020COPY . .
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
2325RUN python3 -m pip install --upgrade pip
2426RUN python3 -m pip install dist/*.whl
2527
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments