Skip to content

Commit 76431e7

Browse files
add back full build matrix
1 parent a47f167 commit 76431e7

File tree

2 files changed

+31
-33
lines changed

2 files changed

+31
-33
lines changed

.github/workflows/build.yml

Lines changed: 27 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ jobs:
1515
host_builds:
1616
strategy:
1717
matrix:
18-
os: [macos-latest]
19-
# os: [macos-latest, windows-2019]
18+
os: [macos-latest, windows-2019]
2019
runs-on: ${{ matrix.os }}
2120
steps:
2221
- uses: actions/checkout@v4
@@ -39,35 +38,35 @@ jobs:
3938
retention-days: 1
4039
compression-level: 0
4140

42-
# container_builds:
43-
# outputs:
44-
# artifact_id: ${{ steps.upload.outputs.artifact-id }}
45-
# runs-on: ubuntu-latest
46-
# strategy:
47-
# matrix:
48-
# linux_arch: [s390x, arm64, amd64]
49-
# steps:
50-
# - uses: actions/checkout@v4
41+
container_builds:
42+
outputs:
43+
artifact_id: ${{ steps.upload.outputs.artifact-id }}
44+
runs-on: ubuntu-latest
45+
strategy:
46+
matrix:
47+
linux_arch: [s390x, arm64, amd64]
48+
steps:
49+
- uses: actions/checkout@v4
5150

52-
# - name: Set up QEMU
53-
# uses: docker/setup-qemu-action@v3
51+
- name: Set up QEMU
52+
uses: docker/setup-qemu-action@v3
5453

55-
# - name: Set up Docker Buildx
56-
# uses: docker/setup-buildx-action@v3
54+
- name: Set up Docker Buildx
55+
uses: docker/setup-buildx-action@v3
5756

58-
# - name: Run Buildx
59-
# run: |
60-
# docker buildx create --name builder --bootstrap --use
61-
# docker buildx build --platform linux/${{ matrix.linux_arch }} --output type=local,dest=./prebuilds,platform-split=false -f ./.github/docker/Dockerfile.glibc .
57+
- name: Run Buildx
58+
run: |
59+
docker buildx create --name builder --bootstrap --use
60+
docker buildx build --platform linux/${{ matrix.linux_arch }} --output type=local,dest=./prebuilds,platform-split=false -f ./.github/docker/Dockerfile.glibc .
6261
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
62+
- id: upload
63+
name: Upload prebuild
64+
uses: actions/upload-artifact@v4
65+
with:
66+
name: build-linux-${{ matrix.linux_arch }}
67+
path: prebuilds/
68+
if-no-files-found: 'error'
69+
retention-days: 1
70+
compression-level: 0
7271

7372

.github/workflows/release.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ jobs:
5454
aws_secret_id: ${{ secrets.AWS_SECRET_ID }}
5555
npm_package_name: 'mongodb-client-encryption'
5656
dry_run: ${{ needs.release_please.outputs.release_created == '' }}
57-
artifact_directory: artifacts
5857
sign_native: true
5958

6059
- name: Copy sbom file to release assets
@@ -89,7 +88,7 @@ jobs:
8988
- name: Install Node and dependencies
9089
uses: baileympearson/drivers-github-tools/node/setup@add-signing-env-action-for-node
9190

92-
# - run: npm publish --provenance --tag=latest
93-
# if: ${{ needs.release_please.outputs.release_created }}
94-
# env:
95-
# NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
91+
- run: npm publish --provenance --tag=latest
92+
if: ${{ needs.release_please.outputs.release_created }}
93+
env:
94+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)