File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 67
67
run : |
68
68
rm types/build.rs
69
69
rustup target add ${{matrix.target}}
70
- if [ $BIN_NAME == "ahnlich-ai" ] && [ '${{matrix.target}}' == *darwin ]; then
71
- cargo build --features coreml --release --target ${{matrix.target}} --bin ${{ needs.prebuild_preparation.outputs.bin_name }}
70
+ if [ $BIN_NAME == "ahnlich-ai" ] && [ "${{matrix.target}}" == *darwin ]; then
71
+ echo "running with coreml.."
72
+ cargo build --features coreml --release --target ${{matrix.target}} --bin ${{ needs.prebuild_preparation.outputs.bin_name }}
72
73
else
74
+ echo "running without features"
73
75
cargo build --release --target ${{matrix.target}} --bin ${{ needs.prebuild_preparation.outputs.bin_name }}
74
76
fi
75
77
tar -cvzf ${{matrix.target}}-${{ needs.prebuild_preparation.outputs.bin_name }}.tar.gz -C target/${{matrix.target}}/release ${{ needs.prebuild_preparation.outputs.bin_name }}
You can’t perform that action at this time.
0 commit comments