15
15
strategy :
16
16
matrix :
17
17
os : [linux]
18
- arch : [amd64, arm64, ppc64le, s390x]
18
+ # arch: [amd64, arm64, ppc64le, s390x]
19
+ arch : [amd64]
19
20
steps :
20
21
- name : Checkout code
21
22
uses : actions/checkout@v4
@@ -33,96 +34,96 @@ jobs:
33
34
- run : make generate-ui
34
35
- run : GO_TAGS="builtinassets promtail_journal_enabled" GOOS=${{ matrix.os }} GOARCH=${{ matrix.arch }} GOARM= make alloy
35
36
36
- build_linux_boringcrypto :
37
- name : Build on Linux (boringcrypto)
38
- runs-on : ubuntu-latest
39
- container : grafana/alloy-build-image:v0.1.8-boringcrypto
40
- strategy :
41
- matrix :
42
- os : [linux]
43
- arch : [amd64, arm64]
44
- steps :
45
- - name : Checkout code
46
- uses : actions/checkout@v4
47
- - name : Set ownership
48
- # https://github.com/actions/runner/issues/2033#issuecomment-1204205989
49
- run : |
50
- # this is to fix GIT not liking owner of the checkout dir
51
- chown -R $(id -u):$(id -g) $PWD
52
- - name : Set up Go
53
- uses : actions/setup-go@v5
54
- with :
55
- go-version-file : go.mod
56
- # TODO: Try enabling caching later. It might use up too much disk space on runners so needs extra testing.
57
- cache : false
58
- - run : make generate-ui
59
- - run : GO_TAGS="builtinassets promtail_journal_enabled" GOOS=${{ matrix.os }} GOARCH=${{ matrix.arch }} GOARM= GOEXPERIMENT=boringcrypto make alloy
60
-
61
- build_mac_intel :
62
- name : Build on MacOS (Intel)
63
- runs-on : macos-14-large
64
- steps :
65
- - name : Checkout code
66
- uses : actions/checkout@v4
67
- - name : Set up Go
68
- uses : actions/setup-go@v5
69
- with :
70
- go-version-file : go.mod
71
- # TODO: Try enabling caching later. It might use up too much disk space on runners so needs extra testing.
72
- cache : false
73
- - run : make generate-ui
74
- - run : GO_TAGS="builtinassets" GOOS=darwin GOARCH=amd64 GOARM= make alloy
75
-
76
- build_mac_arm :
77
- name : Build on MacOS (ARM)
78
- runs-on : macos-14-xlarge
79
- steps :
80
- - name : Checkout code
81
- uses : actions/checkout@v4
82
- - name : Set up Go
83
- uses : actions/setup-go@v5
84
- with :
85
- go-version-file : go.mod
86
- # TODO: Try enabling caching later. It might use up too much disk space on runners so needs extra testing.
87
- cache : false
88
- - run : make generate-ui
89
- - run : GO_TAGS="builtinassets" GOOS=darwin GOARCH=arm64 GOARM= make alloy
37
+ # build_linux_boringcrypto:
38
+ # name: Build on Linux (boringcrypto)
39
+ # runs-on: ubuntu-latest
40
+ # container: grafana/alloy-build-image:v0.1.8-boringcrypto
41
+ # strategy:
42
+ # matrix:
43
+ # os: [linux]
44
+ # arch: [amd64, arm64]
45
+ # steps:
46
+ # - name: Checkout code
47
+ # uses: actions/checkout@v4
48
+ # - name: Set ownership
49
+ # # https://github.com/actions/runner/issues/2033#issuecomment-1204205989
50
+ # run: |
51
+ # # this is to fix GIT not liking owner of the checkout dir
52
+ # chown -R $(id -u):$(id -g) $PWD
53
+ # - name: Set up Go
54
+ # uses: actions/setup-go@v5
55
+ # with:
56
+ # go-version-file: go.mod
57
+ # # TODO: Try enabling caching later. It might use up too much disk space on runners so needs extra testing.
58
+ # cache: false
59
+ # - run: make generate-ui
60
+ # - run: GO_TAGS="builtinassets promtail_journal_enabled" GOOS=${{ matrix.os }} GOARCH=${{ matrix.arch }} GOARM= GOEXPERIMENT=boringcrypto make alloy
61
+ #
62
+ # build_mac_intel:
63
+ # name: Build on MacOS (Intel)
64
+ # runs-on: macos-14-large
65
+ # steps:
66
+ # - name: Checkout code
67
+ # uses: actions/checkout@v4
68
+ # - name: Set up Go
69
+ # uses: actions/setup-go@v5
70
+ # with:
71
+ # go-version-file: go.mod
72
+ # # TODO: Try enabling caching later. It might use up too much disk space on runners so needs extra testing.
73
+ # cache: false
74
+ # - run: make generate-ui
75
+ # - run: GO_TAGS="builtinassets" GOOS=darwin GOARCH=amd64 GOARM= make alloy
76
+ #
77
+ # build_mac_arm:
78
+ # name: Build on MacOS (ARM)
79
+ # runs-on: macos-14-xlarge
80
+ # steps:
81
+ # - name: Checkout code
82
+ # uses: actions/checkout@v4
83
+ # - name: Set up Go
84
+ # uses: actions/setup-go@v5
85
+ # with:
86
+ # go-version-file: go.mod
87
+ # # TODO: Try enabling caching later. It might use up too much disk space on runners so needs extra testing.
88
+ # cache: false
89
+ # - run: make generate-ui
90
+ # - run: GO_TAGS="builtinassets" GOOS=darwin GOARCH=arm64 GOARM= make alloy
90
91
91
- build_windows :
92
- name : Build on Windows (AMD64)
93
- runs-on : windows-latest
94
- steps :
95
- - name : Checkout code
96
- uses : actions/checkout@v4
97
- - name : Set up Go
98
- uses : actions/setup-go@v5
99
- with :
100
- go-version-file : go.mod
101
- # TODO: Try enabling caching later. It might use up too much disk space on runners so needs extra testing.
102
- cache : false
103
- - run : make generate-ui
104
- - run : echo "GO_TAGS=builtinassets" | Out-File -FilePath $env:GITHUB_ENV -Append
105
- - run : echo "GOOS=windows" | Out-File -FilePath $env:GITHUB_ENV -Append
106
- - run : echo "GOARCH=amd64" | Out-File -FilePath $env:GITHUB_ENV -Append
107
- - run : make alloy
92
+ # build_windows:
93
+ # name: Build on Windows (AMD64)
94
+ # runs-on: windows-latest
95
+ # steps:
96
+ # - name: Checkout code
97
+ # uses: actions/checkout@v4
98
+ # - name: Set up Go
99
+ # uses: actions/setup-go@v5
100
+ # with:
101
+ # go-version-file: go.mod
102
+ # # TODO: Try enabling caching later. It might use up too much disk space on runners so needs extra testing.
103
+ # cache: false
104
+ # - run: make generate-ui
105
+ # - run: echo "GO_TAGS=builtinassets" | Out-File -FilePath $env:GITHUB_ENV -Append
106
+ # - run: echo "GOOS=windows" | Out-File -FilePath $env:GITHUB_ENV -Append
107
+ # - run: echo "GOARCH=amd64" | Out-File -FilePath $env:GITHUB_ENV -Append
108
+ # - run: make alloy
108
109
109
- build_freebsd :
110
- name : Build on FreeBSD (AMD64)
111
- runs-on : ubuntu-latest
112
- container : grafana/alloy-build-image:v0.1.8
113
- steps :
114
- - name : Checkout code
115
- uses : actions/checkout@v4
116
- - name : Set ownership
117
- # https://github.com/actions/runner/issues/2033#issuecomment-1204205989
118
- run : |
119
- # this is to fix GIT not liking owner of the checkout dir
120
- chown -R $(id -u):$(id -g) $PWD
121
- - name : Set up Go
122
- uses : actions/setup-go@v5
123
- with :
124
- go-version-file : go.mod
125
- # TODO: Try enabling caching later. It might use up too much disk space on runners so needs extra testing.
126
- cache : false
127
- - run : make generate-ui
128
- - run : GO_TAGS="builtinassets" GOOS=freebsd GOARCH=amd64 GOARM= make alloy
110
+ # build_freebsd:
111
+ # name: Build on FreeBSD (AMD64)
112
+ # runs-on: ubuntu-latest
113
+ # container: grafana/alloy-build-image:v0.1.8
114
+ # steps:
115
+ # - name: Checkout code
116
+ # uses: actions/checkout@v4
117
+ # - name: Set ownership
118
+ # # https://github.com/actions/runner/issues/2033#issuecomment-1204205989
119
+ # run: |
120
+ # # this is to fix GIT not liking owner of the checkout dir
121
+ # chown -R $(id -u):$(id -g) $PWD
122
+ # - name: Set up Go
123
+ # uses: actions/setup-go@v5
124
+ # with:
125
+ # go-version-file: go.mod
126
+ # # TODO: Try enabling caching later. It might use up too much disk space on runners so needs extra testing.
127
+ # cache: false
128
+ # - run: make generate-ui
129
+ # - run: GO_TAGS="builtinassets" GOOS=freebsd GOARCH=amd64 GOARM= make alloy
0 commit comments