diff --git a/.forgejo/workflows/ci.yml b/.forgejo/workflows/ci.yml index e79842a..baec0f5 100644 --- a/.forgejo/workflows/ci.yml +++ b/.forgejo/workflows/ci.yml @@ -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 \