Skip to content

Commit f417837

Browse files
authored
chore: add make to containerized Jobs (#1521)
* chore: add make to containerized Jobs Signed-off-by: egibs <20933572+egibs@users.noreply.github.com> * set CGO_ENABLED=1 Signed-off-by: egibs <20933572+egibs@users.noreply.github.com> * add gcc Signed-off-by: egibs <20933572+egibs@users.noreply.github.com> * add pkgconf Signed-off-by: egibs <20933572+egibs@users.noreply.github.com> --------- Signed-off-by: egibs <20933572+egibs@users.noreply.github.com> Signed-off-by: Evan Gibler <20933572+egibs@users.noreply.github.com>
1 parent 19cb5f9 commit f417837

5 files changed

Lines changed: 10 additions & 5 deletions

File tree

.github/workflows/codeql.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ on:
1111
- cron: "35 23 * * 0"
1212

1313
env:
14+
CGO_ENABLED: "1"
1415
CODEQL_EXTRACTOR_GO_BUILD_TRACING: "on"
1516
YARA_X_RELEASE: "1.16.0"
1617

.github/workflows/fuzz.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ on:
3030
- "180m"
3131

3232
env:
33+
CGO_ENABLED: "1"
3334
GO_RELEASE: "go-1.26"
3435
YARA_X_RELEASE: "1.16.0"
3536

@@ -125,7 +126,7 @@ jobs:
125126
- name: Install dependencies
126127
run: |
127128
apk update
128-
apk add curl findutils git gnutar "${GO_RELEASE}" nodejs upx xz "yara-x~${YARA_X_RELEASE}"
129+
apk add curl findutils gcc git gnutar "${GO_RELEASE}" make nodejs pkgconf upx xz "yara-x~${YARA_X_RELEASE}"
129130
130131
- name: Checkout code
131132
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

.github/workflows/go-tests.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ on:
1212
- "main"
1313

1414
env:
15+
CGO_ENABLED: "1"
1516
GO_RELEASE: "go-1.26"
1617
YARA_X_RELEASE: "1.16.0"
1718

@@ -41,7 +42,7 @@ jobs:
4142
- name: Install dependencies
4243
run: |
4344
apk update
44-
apk add curl findutils git gnutar "${GO_RELEASE}" nodejs upx xz "yara-x~${YARA_X_RELEASE}"
45+
apk add curl findutils gcc git gnutar "${GO_RELEASE}" make nodejs pkgconf upx xz "yara-x~${YARA_X_RELEASE}"
4546
4647
- name: Checkout code
4748
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
@@ -92,7 +93,7 @@ jobs:
9293
- name: Install dependencies
9394
run: |
9495
apk update
95-
apk add curl findutils git gnutar "${GO_RELEASE}" nodejs upx xz "yara-x~${YARA_X_RELEASE}"
96+
apk add curl findutils gcc git gnutar "${GO_RELEASE}" make nodejs pkgconf upx xz "yara-x~${YARA_X_RELEASE}"
9697
9798
- name: Checkout code
9899
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

.github/workflows/style.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
name: Code Style
55

66
env:
7+
CGO_ENABLED: "1"
78
GO_RELEASE: "go-1.26"
89
YARA_X_RELEASE: "1.16.0"
910

@@ -188,7 +189,7 @@ jobs:
188189
- name: Install dependencies
189190
run: |
190191
apk update
191-
apk add curl findutils git "${GO_RELEASE}" nodejs "yara-x~${YARA_X_RELEASE}"
192+
apk add curl findutils gcc git "${GO_RELEASE}" make nodejs pkgconf "yara-x~${YARA_X_RELEASE}"
192193
193194
- name: Checkout code
194195
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

.github/workflows/third-party.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ on:
99
- cron: "0 */12 * * *"
1010

1111
env:
12+
CGO_ENABLED: "1"
1213
GO_RELEASE: "go-1.26"
1314
YARA_X_RELEASE: "1.16.0"
1415

@@ -40,7 +41,7 @@ jobs:
4041
- name: Install dependencies
4142
run: |
4243
apk update
43-
apk add bash curl findutils gh git gnutar "${GO_RELEASE}" nodejs perl upx xz "yara-x~${YARA_X_RELEASE}"
44+
apk add bash curl findutils gcc gh git gnutar "${GO_RELEASE}"} make nodejs perl pkgconf upx xz "yara-x~${YARA_X_RELEASE}"
4445
- uses: chainguard-dev/actions/setup-gitsign@c69a264ec2a5934c3186c618f368fc1c86f16cff # main
4546
- name: Set up Octo-STS
4647
uses: octo-sts/action@f603d3be9d8dd9871a265776e625a27b00effe05 # v1.1.1

0 commit comments

Comments
 (0)