@@ -12,35 +12,70 @@ permissions:
12
12
id-token : write
13
13
14
14
jobs :
15
- host_builds :
16
- strategy :
17
- matrix :
18
- os : [macos-latest, windows-2019]
19
- runs-on : ${{ matrix.os }}
20
- steps :
21
- - uses : actions/checkout@v4
15
+ # host_builds:
16
+ # strategy:
17
+ # matrix:
18
+ # os: [macos-latest, windows-2019]
19
+ # runs-on: ${{ matrix.os }}
20
+ # steps:
21
+ # - uses: actions/checkout@v4
22
+
23
+ # - name: Build ${{ matrix.os }} Prebuild
24
+ # run: node .github/scripts/libmongocrypt.mjs ${{ runner.os == 'Windows' && '--build' || '' }}
25
+ # shell: bash
26
+
27
+ # - id: upload
28
+ # name: Upload prebuild
29
+ # uses: actions/upload-artifact@v4
30
+ # with:
31
+ # name: build-${{ matrix.os }}
32
+ # path: prebuilds/
33
+ # if-no-files-found: 'error'
34
+ # retention-days: 1
35
+ # compression-level: 0
36
+
37
+ # container_builds:
38
+ # outputs:
39
+ # artifact_id: ${{ steps.upload.outputs.artifact-id }}
40
+ # runs-on: ubuntu-latest
41
+ # strategy:
42
+ # matrix:
43
+ # linux_arch: [s390x, arm64, amd64]
44
+ # steps:
45
+ # - uses: actions/checkout@v4
46
+
47
+ # - name: Set up QEMU
48
+ # uses: docker/setup-qemu-action@v3
22
49
23
- - name : Build ${{ matrix.os }} Prebuild
24
- run : node .github/scripts/libmongocrypt.mjs ${{ runner.os == 'Windows' && '--build' || '' }}
25
- shell : bash
50
+ # - name: Set up Docker Buildx
51
+ # uses: docker/setup-buildx-action@v3
26
52
27
- - id : upload
28
- name : Upload prebuild
29
- uses : actions/upload-artifact@v4
30
- with :
31
- name : build- ${{ matrix.os }}
32
- path : prebuilds/
33
- if-no-files-found : ' error '
34
- retention-days : 1
35
- compression-level : 0
53
+ # - name: Run Buildx
54
+ # run: |
55
+ # docker buildx create --name builder --bootstrap --use
56
+ # docker buildx build \
57
+ # --platform linux/ ${{ matrix.linux_arch }} \
58
+ # --build-arg="NODE_ARCH=${{ matrix.linux_arch == 'amd64' && 'x64' || matrix.linux_arch }}" \
59
+ # --output type=local,dest=./prebuilds,platform-split=false \
60
+ # -f ./.github/docker/Dockerfile.glibc \
61
+ # .
36
62
37
- container_builds :
63
+ # - id: upload
64
+ # name: Upload prebuild
65
+ # uses: actions/upload-artifact@v4
66
+ # with:
67
+ # name: build-linux-${{ matrix.linux_arch }}
68
+ # path: prebuilds/
69
+ # if-no-files-found: 'error'
70
+ # retention-days: 1
71
+ # compression-level: 0
72
+ container_builds_musl :
38
73
outputs :
39
74
artifact_id : ${{ steps.upload.outputs.artifact-id }}
40
75
runs-on : ubuntu-latest
41
76
strategy :
42
77
matrix :
43
- linux_arch : [s390x, arm64, amd64]
78
+ linux_arch : [arm64, amd64]
44
79
steps :
45
80
- uses : actions/checkout@v4
46
81
@@ -57,15 +92,15 @@ jobs:
57
92
--platform linux/${{ matrix.linux_arch }} \
58
93
--build-arg="NODE_ARCH=${{ matrix.linux_arch == 'amd64' && 'x64' || matrix.linux_arch }}" \
59
94
--output type=local,dest=./prebuilds,platform-split=false \
60
- -f ./.github/docker/Dockerfile.glibc \
95
+ -f ./.github/docker/Dockerfile.musl \
61
96
.
62
97
63
- - id : upload
64
- name : Upload prebuild
65
- uses : actions/upload-artifact@v4
66
- with :
67
- name : build-linux-${{ matrix.linux_arch }}
68
- path : prebuilds/
69
- if-no-files-found : ' error'
70
- retention-days : 1
71
- compression-level : 0
98
+ # - id: upload
99
+ # name: Upload prebuild
100
+ # uses: actions/upload-artifact@v4
101
+ # with:
102
+ # name: build-linux-${{ matrix.linux_arch }}
103
+ # path: prebuilds/
104
+ # if-no-files-found: 'error'
105
+ # retention-days: 1
106
+ # compression-level: 0
0 commit comments