Skip to content

Commit

Permalink
ci: update testing instructions (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
soumyaDghosh authored Sep 29, 2024
1 parent d8ce4dc commit 62734bc
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/release-content-to-candidate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,3 +70,17 @@ jobs:
snapcraft-project-root: "ffmpeg-2404"
architectures: ${{ needs.get-architectures.outputs.architectures }}
github-token: ${{ secrets.GITHUB_TOKEN }}
testing-instructions: |
1. Refresh the content snap
```bash
sudo snap refresh --channel=latest/candidate ffmpeg-2404
```
1. Install tagger (or any other snap that consumes this snap)
```bash
sudo snap install tagger --channel=latest/candidate
```
1. Connect the snap if not connected
```bash
sudo snap connect tagger:ffmpeg-2404 ffmpeg-2404
```
3. Run that snap, and see if there is any error
5 changes: 5 additions & 0 deletions .github/workflows/release-sdk-to-candidate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,8 @@ jobs:
snapcraft-project-root: "ffmpeg-2404-sdk"
architectures: ${{ needs.get-architectures.outputs.architectures }}
github-token: ${{ secrets.GITHUB_TOKEN }}
testing-instructions: |
1. Grab the manifest of a snap that uses ffmpeg, for eg: [Tagger](https://github.com/NickvisionApps/tagger-snap/blob/main/snap/snapcraft.yaml)
1. Update the manifest to use ffmpeg-2404-sdk from candidate channel
like this, https://github.com/NickvisionApps/tagger-snap/blob/main/snap/snapcraft.yaml#L21
1. Build the snap and see if it builds perfectly

0 comments on commit 62734bc

Please sign in to comment.