Skip to content
This repository was archived by the owner on Nov 1, 2023. It is now read-only.

Commit 9e11b4d

Browse files
committed
Platform-specific output directories
1 parent 96e3bca commit 9e11b4d

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -475,8 +475,10 @@ jobs:
475475
cp artifacts/agent-MINGW*/onefuzz-task.exe src/deployment/tools/win64/
476476
cp artifacts/agent-MINGW*/onefuzz_agent.pdb src/deployment/tools/win64/
477477
cp artifacts/agent-MINGW*/onefuzz_task.pdb src/deployment/tools/win64/
478-
cp artifacts/agent-Linux/onefuzz-agent src/deployment/tools/linux/
479-
cp artifacts/agent-Linux/onefuzz-task src/deployment/tools/linux/
478+
cp artifacts/agent-Linux-x86_64/onefuzz-agent src/deployment/tools/linux/
479+
cp artifacts/agent-Linux-x86_64/onefuzz-task src/deployment/tools/linux/
480+
cp artifacts/agent-Linux-aarch64/onefuzz-agent src/deployment/tools/linux-aarch64/
481+
cp artifacts/agent-Linux-aarch64/onefuzz-task src/deployment/tools/linux-aarch64/
480482
481483
cp artifacts/proxy/onefuzz-proxy-manager src/deployment/tools/linux/
482484
cp artifacts/service/api-service.zip src/deployment

src/ci/agent.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ else
3030
fi
3131
fi
3232

33-
platform=$(uname)
33+
platform=$(uname --kernel-name --machine)
34+
platform=${platform// /-} # replace spaces with dashes
3435
rel_output_dir="artifacts/agent-$platform"
3536
mkdir -p "$rel_output_dir"
3637
output_dir=$(realpath "$rel_output_dir")

0 commit comments

Comments
 (0)