Skip to content

fix(ci): build linux native library with glibc sysroot#52

Open
chsbuffer wants to merge 1 commit intoLuckyPray:masterfrom
chsbuffer:fix-linux
Open

fix(ci): build linux native library with glibc sysroot#52
chsbuffer wants to merge 1 commit intoLuckyPray:masterfrom
chsbuffer:fix-linux

Conversation

@chsbuffer
Copy link
Copy Markdown

No description provided.

fi

output_path="$1"
ubuntu_mirror="${UBUNTU_MIRROR:-http://archive.ubuntu.com/ubuntu/}"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

应该 https

-cJf "$path.tar.xz" .
sudo chown "$USER:$USER" "$path.tar.xz"
sudo rm -rf "$path"
sudo chown -R "$USER:$USER" "$(dirname "$path")"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

github ci 不应该假设主组与用户一致, 考虑 "$(id -u):$(id -g)"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants