Skip to content

Commit

Permalink
upload minimal example
Browse files Browse the repository at this point in the history
  • Loading branch information
dfrankland committed Jan 17, 2025
1 parent d847474 commit 52cead5
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/actions/build_cli_target/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,19 @@ runs:
# NOTE: DO NOT BUILD WORKSPACE OTHERWISE THE CLI MAY BE LINKED TO UNNECESSARY LIBRARIES
run: cargo build -q -p trunk-analytics-cli --profile=${{ inputs.profile }} --target=${{ inputs.target }}

# DO NOT LAND
- name: Build minimal CLI example for ${{ inputs.target }} target
shell: bash
# NOTE: DO NOT BUILD WORKSPACE OTHERWISE THE CLI MAY BE LINKED TO UNNECESSARY LIBRARIES
run: cargo build -q -p trunk-analytics-cli --example minimal --profile=${{ inputs.profile }} --target=${{ inputs.target }}

# DO NOT LAND
- name: Upload minimal CLI example
uses: actions/upload-artifact@v4
with:
name: minimal-cli-example-${{ inputs.target }}-${{ inputs.profile }}
path: ./target/${{ inputs.target }}/${{ inputs.profile }}/examples/minimal

- name: Create binary with debug info
shell: bash
run: cp target/${{ inputs.target }}/${{ inputs.profile }}/trunk-analytics-cli target/${{ inputs.target }}/${{ inputs.profile }}/trunk-analytics-cli.debug

0 comments on commit 52cead5

Please sign in to comment.