-
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build(mage): ✨ rework mage build system to support native and cross-c…
…ompilation - mage now supports setting TARGETARCH environment variable to specify cross-compilation - update build/test github action workflows for mage changes - update Dockerfile for mage changes - adjust codeql github action workflow to "autobuild"
- Loading branch information
Showing
14 changed files
with
140 additions
and
149 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 |
---|---|---|
|
@@ -12,7 +12,7 @@ permissions: | |
|
||
env: | ||
GO_VERSION: 1.22 | ||
MAGEARGS: "-v -d build/magefiles -w ." | ||
MAGEARGS: -d build/magefiles -w . | ||
|
||
jobs: | ||
check_release: | ||
|
@@ -64,9 +64,13 @@ jobs: | |
with: | ||
install-only: true | ||
- name: Build with Mage | ||
run: mage ${MAGEARGS} build:ci ${{ matrix.arch }} | ||
run: mage ${MAGEARGS} build:ci | ||
env: | ||
TARGETARCH: ${{ matrix.arch }} | ||
- name: Package with Mage | ||
run: mage ${MAGEARGS} package:ci ${{ matrix.arch }} | ||
run: mage ${MAGEARGS} package:ci | ||
env: | ||
TARGETARCH: ${{ matrix.arch }} | ||
- name: Install cosign | ||
id: cosign_install | ||
uses: sigstore/[email protected] | ||
|
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
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
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
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
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
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
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
Oops, something went wrong.