15
15
host_builds :
16
16
strategy :
17
17
matrix :
18
- os : [macos-latest]
19
- # os: [macos-latest, windows-2019]
18
+ os : [macos-latest, windows-2019]
20
19
runs-on : ${{ matrix.os }}
21
20
steps :
22
21
- uses : actions/checkout@v4
@@ -39,35 +38,35 @@ jobs:
39
38
retention-days : 1
40
39
compression-level : 0
41
40
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
51
50
52
- # - name: Set up QEMU
53
- # uses: docker/setup-qemu-action@v3
51
+ - name : Set up QEMU
52
+ uses : docker/setup-qemu-action@v3
54
53
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
57
56
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 .
62
61
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
72
71
73
72
0 commit comments