-
-
Notifications
You must be signed in to change notification settings - Fork 193
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Dave Henderson <[email protected]>
- Loading branch information
1 parent
e3b86e8
commit 71f431e
Showing
4 changed files
with
37 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,6 +27,21 @@ jobs: | |
path: bin/gomplate | ||
- run: make test | ||
- run: make integration | ||
linux-32bit-build: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
platform: [ linux/386, linux/armhf ] | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- name: Set up QEMU | ||
uses: docker/[email protected] | ||
- name: Test on ${{ matrix.platform }} | ||
run: | | ||
docker build --platform ${{ matrix.platform }} --iidfile test32bit.iid -f Dockerfile.test32bit . | ||
docker run --rm $(<test32bit.iid) make test | ||
windows-build: | ||
runs-on: windows-latest | ||
env: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,4 +22,3 @@ jobs: | |
with: | ||
version: latest | ||
args: --verbose --max-same-issues=0 --max-issues-per-linter=0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
FROM golang:1.22-alpine | ||
|
||
ARG TARGETOS | ||
ARG TARGETARCH | ||
ARG TARGETVARIANT | ||
ENV GOOS=$TARGETOS GOARCH=$TARGETARCH | ||
|
||
RUN apk add --no-cache make git | ||
|
||
WORKDIR /go/src/github.com/hairyhenderson/gomplate | ||
COPY go.mod /go/src/github.com/hairyhenderson/gomplate | ||
COPY go.sum /go/src/github.com/hairyhenderson/gomplate | ||
|
||
RUN go mod download -x | ||
|
||
COPY . /go/src/github.com/hairyhenderson/gomplate |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters