Skip to content

Commit baa8763

Browse files
committed
feat(workflow): enable musl test
1 parent 1d3d0cd commit baa8763

1 file changed

Lines changed: 5 additions & 17 deletions

File tree

.github/workflows/main.yml

Lines changed: 5 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -52,16 +52,16 @@ jobs:
5252
make: xcframework
5353
- os: ubuntu-latest
5454
arch: x86_64
55-
name: musl
55+
name: linux-musl
5656
container: alpine:latest
5757
- os: ubuntu-24.04-arm
5858
arch: arm64
59-
name: musl
59+
name: linux-musl
6060
container: alpine:latest
6161

6262
defaults:
6363
run:
64-
shell: ${{ matrix.name == 'musl' && 'sh' || 'bash' }}
64+
shell: ${{ matrix.name == 'linux-musl' && 'sh' || 'bash' }}
6565

6666
env:
6767
CONNECTION_STRING: ${{ secrets.CONNECTION_STRING }}
@@ -70,17 +70,6 @@ jobs:
7070

7171
steps:
7272

73-
- name: Alpine system info
74-
if: matrix.name == 'musl'
75-
run: |
76-
echo "=== Alpine Linux Information ==="
77-
cat /etc/alpine-release
78-
echo "Kernel: $(uname -r)"
79-
echo "Architecture: $(uname -m)"
80-
echo "Shell: $SHELL"
81-
echo "Available shells:"
82-
cat /etc/shells
83-
8473
- uses: actions/checkout@v4.2.2
8574

8675
- uses: msys2/setup-msys2@v2.27.0
@@ -92,9 +81,8 @@ jobs:
9281
make
9382
9483
- name: Install build dependencies
95-
if: matrix.name == 'musl'
84+
if: matrix.name == 'linux-musl'
9685
run: |
97-
# Update package index and install essential build tools
9886
apk update
9987
apk add --no-cache \
10088
git \
@@ -175,7 +163,7 @@ jobs:
175163
adb shell "sh /data/local/tmp/commands.sh"
176164
177165
- name: test sqlite-sync
178-
if: matrix.name == 'linux' || matrix.name == 'windows'
166+
if: contains(matrix.name, 'linux') || matrix.name == 'windows'
179167
run: make test
180168

181169
- name: test sqlite-sync + coverage

0 commit comments

Comments
 (0)