-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add binary wrapper to capture stdout,stderr,exitcode
- Loading branch information
1 parent
64ed61c
commit 5a0ed1d
Showing
14 changed files
with
4,571 additions
and
22 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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: 'build' | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: 'Checkout GitHub repository' | ||
uses: actions/checkout@v4 | ||
with: | ||
clean: true | ||
|
||
- name: 'Setup Node' | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: '20.x' | ||
|
||
- name: 'Run npm' | ||
run: | ||
npm install && npm run 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
name: 'Setup Jikkou Wrapper' | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
|
||
defaults: | ||
run: | ||
shell: bash | ||
|
||
jobs: | ||
jikkou-wrapper: | ||
name: 'Jikkou Versions' | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest, macos-latest] | ||
jikkou-versions: [latest] | ||
|
||
steps: | ||
- name: Checkout GitHub repository | ||
uses: actions/checkout@v4 | ||
with: | ||
clean: true | ||
|
||
- name: Setup Jikkou - ${{ matrix['jikkou-versions'] }} | ||
uses: ./ | ||
with: | ||
jikkou_version: ${{ matrix['jikkou-versions'] }} | ||
jikkou_config: ./config/jikkouconfig.json | ||
jikkou_wrapper: true | ||
|
||
- name: Validate Jikkou Version - ${{ matrix['jikkou-versions'] }} | ||
id: version | ||
run: jikkou -V | grep 'Jikkou version' | ||
|
||
- name: 'Output stdout' | ||
run: echo "${{ steps.version.outputs.stdout }}" | ||
|
||
- name: 'Output stderr' | ||
run: echo "${{ steps.version.outputs.stderr }}" | ||
|
||
- name: 'Output exitcode' | ||
run: echo "${{ steps.version.outputs.exitcode }}" | ||
|
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,2 +1,11 @@ | ||
/node_modules/ | ||
/.idea/ | ||
|
||
# ./wrapper/dist gets included in top-level ./dist | ||
wrapper/dist | ||
|
||
# Jetbrains IDEs | ||
.idea/ | ||
.iml | ||
|
||
# dotenv environment variables file | ||
.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
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.