-
Notifications
You must be signed in to change notification settings - Fork 117
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CI] Simpler entry points for cross tools
- Loading branch information
Showing
6 changed files
with
79 additions
and
70 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
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 |
---|---|---|
|
@@ -9,6 +9,8 @@ on: | |
pull_request: | ||
paths: | ||
- '**' | ||
- '!.github/workflows/cross.yml' | ||
- '!tools/*' | ||
|
||
jobs: | ||
build: | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,11 @@ | ||
#!/bin/bash | ||
|
||
# Build the cross tools for IA16 target | ||
# Build the cross tools for the IA16 target | ||
|
||
# This script is the entry point for the 'cross tools build' workflow | ||
# See .github/workflow/cross.yml | ||
# This script is an entry point for the workflows | ||
# See .github/workflow/*.yml | ||
|
||
SCRIPTDIR="$(dirname "$0")" | ||
. "$SCRIPTDIR/env.sh" | ||
|
||
export SRCDIR="$TOPDIR/tools" | ||
export DISTDIR="$CROSSDIR/dist" | ||
export BUILDDIR="$CROSSDIR/build" | ||
|
||
mkdir -p "$DISTDIR" | ||
mkdir -p "$BUILDDIR" | ||
|
||
cd "$BUILDDIR" | ||
make -f "$SRCDIR/Makefile" | ||
make -C "$SCRIPTDIR" all |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,11 @@ | ||
#!/bin/bash | ||
|
||
# Pack the cross tools | ||
# Prune the cross tools to save disk space | ||
|
||
# This script is one entry point for the 'cross tools build' workflow | ||
# See .github/workflow/cross.yml | ||
# This script is an entry point for the workflows | ||
# See .github/workflow/*.yml | ||
|
||
SCRIPTDIR="$(dirname "$0")" | ||
. "$SCRIPTDIR/env.sh" | ||
|
||
export SRCDIR="$TOPDIR/tools" | ||
export DISTDIR="$CROSSDIR/dist" | ||
export BUILDDIR="$CROSSDIR/build" | ||
|
||
make -f "$SRCDIR/Makefile" pack | ||
make -C "$SCRIPTDIR" prune |