-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from aryx/gha_test
Add test.sh and related GHA check
- Loading branch information
Showing
7 changed files
with
58 additions
and
18 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 |
---|---|---|
|
@@ -48,6 +48,12 @@ local job = { | |
./bootstrap-mk.sh | ||
|||, | ||
}, | ||
{ | ||
name: 'Basic test', | ||
run: ||| | ||
./test.sh | ||
|||, | ||
}, | ||
], | ||
}; | ||
|
||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/bin/sh | ||
# Basic testing. | ||
# | ||
# This script assume you ran first ./bootstrap-mk.sh before. | ||
# | ||
# LATER: ideally later we could switch to rc instead of sh | ||
|
||
# any error should abort the script | ||
set -e | ||
# for showing the executed commands (verbose) | ||
set -x | ||
|
||
# Just make sure at least the programs are not segfaulting | ||
# or dynamic linking errors | ||
./bin/mk --help | ||
./bin/rc --help |