Fix build script location: create in correct workspace directory
Some checks failed
Build libfuse / Build and Test (push) Failing after 33s
Some checks failed
Build libfuse / Build and Test (push) Failing after 33s
- Create build_libfuse.sh in /workspace/particle-os/libfuse/ instead of current directory - Make script executable with chmod +x - Add verification step to ensure script exists before Docker execution - Fix 'No such file or directory' error from run #5 The script now exists in the correct location where Docker can find it.
This commit is contained in:
parent
70b350154e
commit
689783e6e0
1 changed files with 10 additions and 1 deletions
|
|
@ -41,8 +41,11 @@ jobs:
|
|||
|
||||
- name: Build libfuse in Debian container
|
||||
run: |
|
||||
# Create workspace directory if it doesn't exist
|
||||
mkdir -p /workspace/particle-os/libfuse
|
||||
|
||||
# Create a script to run inside the container
|
||||
cat > build_libfuse.sh << 'EOF'
|
||||
cat > /workspace/particle-os/libfuse/build_libfuse.sh << 'EOF'
|
||||
set -e
|
||||
|
||||
# Configure apt to use cacher if available
|
||||
|
|
@ -141,6 +144,12 @@ jobs:
|
|||
pkg-config --exists fuse3 && echo "fuse3.pc found" || echo "fuse3.pc not found"
|
||||
EOF
|
||||
|
||||
# Make the script executable
|
||||
chmod +x /workspace/particle-os/libfuse/build_libfuse.sh
|
||||
|
||||
# Verify the script exists and is executable
|
||||
ls -la /workspace/particle-os/libfuse/build_libfuse.sh
|
||||
|
||||
# Run the build script in Debian container
|
||||
docker run --rm \
|
||||
--add-host=host.docker.internal:host-gateway \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue