Skip to content

Commit

Permalink
ci: Expose build results as artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
Rahix committed Jan 4, 2025
1 parent c083026 commit ce58188
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,21 @@ jobs:
- name: Test-compile the crate
run: cargo check --all-features

# Package artifacts
- name: Generate a cargo package for the macros
run: cd macros/; cargo package --no-verify --allow-dirty
- name: Generate a cargo package for avr-device
run: cargo package --no-verify --allow-dirty

# Upload artifacts
- uses: actions/upload-artifact@v4
with:
name: avr-device
path: |
svd/
target/package/avr-device-*.crate
macros/target/package/avr-device-macros-*.crate
ci-example:
name: "Test-build ATmega328P example"
runs-on: ubuntu-latest
Expand Down

0 comments on commit ce58188

Please sign in to comment.