feat: add binary wrapper to capture stdout,stderr,exitcode #38
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
name: 'Setup Jikkou' | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
jikkou-no-wrapper: | |
name: 'Jikkou Versions' | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest] | |
jikkou-versions: [0.29.0, 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: false | |
- name: Validate Jikkou Version - ${{ matrix['jikkou-versions'] }} | |
if: ${{ matrix['jikkou-versions'] != 'latest' }} | |
run: jikkou -V | grep ${{ matrix['jikkou-versions']}} | |
- name: Validate Jikkou Version - ${{ matrix['jikkou-versions'] }} | |
if: ${{ matrix['jikkou-versions'] == 'latest' }} | |
run: jikkou -V | grep 'Jikkou version' |