Skip to content

Commit 784ef38

Browse files
committed
feat(workflow): add git clone step for musl arm64 builds
1 parent baa8763 commit 784ef38

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

.github/workflows/main.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ jobs:
7171
steps:
7272

7373
- uses: actions/checkout@v4.2.2
74+
if: matrix.name != 'linux-musl' && matrix.arch != 'arm64'
7475

7576
- uses: msys2/setup-msys2@v2.27.0
7677
if: matrix.os == 'windows-latest'
@@ -79,6 +80,17 @@ jobs:
7980
install: >-
8081
mingw-w64-x86_64-cc
8182
make
83+
84+
- name: Musl arm64 git clone
85+
if: matrix.name == 'linux-musl' && matrix.arch == 'arm64'
86+
run: |
87+
git clone https://github.com/${{ github.repository }}.git .
88+
git checkout ${{ github.sha }}
89+
90+
echo "Repository cloned successfully"
91+
echo "Current commit: $(git rev-parse HEAD)"
92+
echo "Files:"
93+
ls -la
8294
8395
- name: Install build dependencies
8496
if: matrix.name == 'linux-musl'

0 commit comments

Comments
 (0)