Skip to content

Commit

Permalink
feat: 更新交叉编译
Browse files Browse the repository at this point in the history
  • Loading branch information
wojiushixiaobai committed Jan 22, 2025
1 parent c75b653 commit 3f0ebf7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 23 deletions.
14 changes: 0 additions & 14 deletions .github/workflows/custom.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,6 @@ jobs:
- uses: docker/setup-buildx-action@v3
if: env.create == '1'

- name: Setup QEMU
if: env.create == '1'
run: |
docker run --rm --privileged ghcr.io/loong64/qemu-user-static --reset -p yes
- name: Cache node.js
if: env.create == '1'
uses: actions/cache@v4
Expand All @@ -98,15 +93,6 @@ jobs:
mkdir -p ${{ github.workspace }}/workdir/staging
sudo chmod -R 777 ${{ github.workspace }}/workdir/staging
sudo chown -R 1000:docker ${{ github.workspace }}/workdir/staging
case ${{ matrix.binaries }} in
glibc)
echo "Pass ..."
;;
musl)
wget https://www.wuxiaobai.win/download/node-cache-${{ env.version }}-linux-loong64-musl.tar.gz
tar -pxf node-cache-${{ env.version }}-linux-loong64-musl.tar.gz -C ${{ github.workspace }}/workdir
;;
esac
- name: Build node.js
if: env.create == '1'
Expand Down
9 changes: 0 additions & 9 deletions .github/workflows/daily.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,6 @@ jobs:
run: |
case ${{ matrix.binaries }} in
glibc)
if [ "${{ matrix.version }}" -gt "20" ]; then
# https://github.com/nodejs/node/pull/52888
exit 0
fi
gh release view ${{ env.version }} -R ${{ github.repository }} | grep node-${{ env.version }}-linux-loong64.tar.xz >/dev/null 2>&1 || echo "create=1" >> $GITHUB_ENV
;;
musl)
Expand Down Expand Up @@ -69,11 +65,6 @@ jobs:
- uses: docker/setup-buildx-action@v3
if: env.create == '1'

- name: Setup QEMU
if: env.create == '1'
run: |
docker run --rm --privileged ghcr.io/loong64/qemu-user-static --reset -p yes
- name: Cache node.js
if: env.create == '1'
uses: actions/cache@v4
Expand Down

0 comments on commit 3f0ebf7

Please sign in to comment.