fix workspace resolver and CI failure
This commit is contained in:
parent
c0ceed09fb
commit
1a2ad44d58
|
@ -26,7 +26,7 @@ jobs:
|
|||
uses: https://github.com/actions-rs/cargo@v1
|
||||
with:
|
||||
command: build
|
||||
args: --release --bin tfclient --profile release-ci
|
||||
args: --bin tfclient --profile release-ci
|
||||
- name: Upload binary
|
||||
run: sshpass -p "${{ secrets.TRIFID_DLCDN_PASSWORD }}" rsync --mkpath -e 'ssh -p ${{ secrets.TRIFID_DLCDN_PORT }} -o StrictHostKeyChecking=no' target/release/tfclient ${{ secrets.TRIFID_DLCDN_USER }}@${{ secrets.TRIFID_DLCDN_IP }}:${{ secrets.TRIFID_DLCDN_PATH }}/tfclient/amd64/$GITHUB_SHA/tfclient
|
||||
build_arm64:
|
||||
|
@ -54,7 +54,7 @@ jobs:
|
|||
RUSTFLAGS: "-C linker=aarch64-linux-gnu-gcc"
|
||||
with:
|
||||
command: build
|
||||
args: --release --bin tfclient --target aarch64-unknown-linux-gnu --profile release-ci
|
||||
args: --bin tfclient --target aarch64-unknown-linux-gnu --profile release-ci
|
||||
- name: Upload binary
|
||||
run: sshpass -p "${{ secrets.TRIFID_DLCDN_PASSWORD }}" rsync --mkpath -e 'ssh -p ${{ secrets.TRIFID_DLCDN_PORT }} -o StrictHostKeyChecking=no' target/aarch64-unknown-linux-gnu/release/tfclient ${{ secrets.TRIFID_DLCDN_USER }}@${{ secrets.TRIFID_DLCDN_IP }}:${{ secrets.TRIFID_DLCDN_PATH }}/tfclient/arm64/$GITHUB_SHA/tfclient
|
||||
build_win64:
|
||||
|
@ -80,7 +80,7 @@ jobs:
|
|||
uses: https://github.com/actions-rs/cargo@v1
|
||||
with:
|
||||
command: build
|
||||
args: --release --bin tfclient --target x86_64-pc-windows-gnu --profile release-ci
|
||||
args: --bin tfclient --target x86_64-pc-windows-gnu --profile release-ci
|
||||
- name: Compile release bundle
|
||||
run: ./build_windows.sh
|
||||
- name: Upload binary
|
||||
|
|
|
@ -9,9 +9,9 @@ members = [
|
|||
"trifid-api",
|
||||
"trifid-api-derive"
|
||||
]
|
||||
resolver = "2"
|
||||
|
||||
[profile.release-ci]
|
||||
inherits = "release"
|
||||
lto = true
|
||||
|
||||
resolver = "2"
|
Loading…
Reference in New Issue