Skip to content

Commit

Permalink
workflow: prepare environment with static apk-tools
Browse files Browse the repository at this point in the history
  • Loading branch information
ziyao233 committed Jan 18, 2025
1 parent e59b326 commit 022fe70
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/ci-x86.yml
Original file line number Diff line number Diff line change
Expand Up @@ -358,14 +358,18 @@ jobs:
run: |
mkdir alpine-root && cd alpine-root
curl -L https://dl-cdn.alpinelinux.org/v3.21/releases/x86_64/alpine-minirootfs-3.21.0-x86_64.tar.gz | \
tar xzv
sudo tar xzv
curl -L https://dl-cdn.alpinelinux.org/v3.21/main/x86_64/apk-tools-static-2.14.6-r2.apk | \
sudo tar xzv sbin/apk.static
sudo mount -o bind /dev/ dev
sudo mount -t proc proc proc
sudo mount -t sysfs sys sys
sudo mount -o bind ${{ github.workspace }}/DynamoRIO root
sudo chroot . bin/sh -c 'apk upgrade -U && apk add \
alpine-sdk bash cmake doxygen zlib-dev lz4-dev libunwind-dev xz-dev'
sudo sbin/apk.static upgrade -U
sudo sbin/apk.static add \
alpine-sdk bash cmake doxygen zlib-dev lz4-dev libunwind-dev xz-dev
- name: Run Suite
working-directory: ${{ github.workspace }}
Expand Down

0 comments on commit 022fe70

Please sign in to comment.