-
-
Notifications
You must be signed in to change notification settings - Fork 190
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
6290186
commit 0b35c00
Showing
2 changed files
with
21 additions
and
14 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 |
---|---|---|
|
@@ -11,22 +11,30 @@ jobs: | |
runs-on: ubuntu-latest | ||
container: | ||
image: ghcr.io/hairyhenderson/gomplate-ci-build | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
goarch: [ '386', 'amd64', 'arm', 'arm64' ] | ||
goarm: [ '' ] | ||
include: | ||
- goarch: '386' | ||
- goarch: 'amd64' | ||
- goarch: 'arm' | ||
goarm: '7' | ||
- goarch: 'arm64' | ||
steps: | ||
- name: Set up QEMU | ||
uses: docker/[email protected] | ||
- run: | | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "Someone" | ||
git config --global --add safe.directory /__w/gomplate/gomplate | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- run: make build | ||
- name: Save binary | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: gomplate | ||
path: bin/gomplate | ||
- run: make test | ||
- run: make integration | ||
- run: make build GOARCH=${{ matrix.goarch }} GOARM=${{ matrix.goarm }} | ||
- run: make test GOARCH=${{ matrix.goarch }} GOARM=${{ matrix.goarm }} | ||
- run: make integration GOARCH=${{ matrix.goarch }} GOARM=${{ matrix.goarm }} | ||
windows-build: | ||
runs-on: windows-latest | ||
env: | ||
|
@@ -45,10 +53,5 @@ jobs: | |
git config --global user.email "[email protected]" | ||
git config --global user.name "Someone" | ||
- run: make build | ||
- name: Save binary | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: gomplate.exe | ||
path: bin/gomplate.exe | ||
- run: make test | ||
- run: make integration |
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