fix workspace resolver and CI failure
/ build (push) Successful in 43s Details
/ build_x64 (push) Failing after 3m33s Details
/ build_arm64 (push) Failing after 2m1s Details
/ build_win64 (push) Failing after 2m2s Details

This commit is contained in:
core 2023-12-15 22:47:46 -05:00
parent c0ceed09fb
commit 1a2ad44d58
Signed by: core
GPG Key ID: FDBF740DADDCEECF
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -9,9 +9,9 @@ members = [
"trifid-api",
"trifid-api-derive"
]
resolver = "2"
[profile.release-ci]
inherits = "release"
lto = true
resolver = "2"