diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..12b1aae --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,27 @@ +name: Release + +# Package + publish on a version tag. The matrix lives here (the caller owns it); +# each leg calls the single-combo reusable helper. The publish feed is derived from +# distro-release/distro-channel. The tag must equal the avocado.yaml version. +on: + push: + tags: + - '[0-9]+.[0-9]+.[0-9]+' + - '[0-9]+.[0-9]+.[0-9]+-*' + workflow_dispatch: + +jobs: + publish: + strategy: + fail-fast: false + matrix: + include: + - { target: raspberrypi4, distro-release: "2026", distro-channel: edge } + uses: avocado-linux/actions/.github/workflows/extension-release.yml@v1 + with: + target: ${{ matrix.target }} + distro-release: ${{ matrix.distro-release }} + distro-channel: ${{ matrix.distro-channel }} + secrets: + connect-token: ${{ secrets.AVOCADO_CONNECT_TOKEN }} + connect-org: ${{ secrets.AVOCADO_CONNECT_ORG }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..08767ea --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,21 @@ +name: Test + +# "Does it build" check on PRs. The matrix lives here (the caller owns it); each leg +# calls the single-combo reusable helper. Add rows for more targets/feeds as needed. +on: + pull_request: + workflow_dispatch: + +jobs: + build: + strategy: + fail-fast: false + matrix: + include: + - { target: raspberrypi4, distro-release: "2026", distro-channel: edge } + uses: avocado-linux/actions/.github/workflows/extension-test.yml@v1 + with: + target: ${{ matrix.target }} + distro-release: ${{ matrix.distro-release }} + distro-channel: ${{ matrix.distro-channel }} + repo-url: ${{ matrix.repo-url }} diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..4e080a3 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,12 @@ +# Changelog + +All notable changes to avocado-ext-webkit are documented in this file. +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [0.1.0] + +### Added +- Initial release: WPE WebKit browser and display utilities. +- CI via the shared `avocado-linux/actions` reusable workflows: PR build check + (`test.yml`) and tag-driven package + publish to the Avocado feed (`release.yml`). diff --git a/avocado.yaml b/avocado.yaml index 2f4004b..98bff8f 100644 --- a/avocado.yaml +++ b/avocado.yaml @@ -9,7 +9,7 @@ supported_targets: extensions: avocado-ext-webkit: - version: 2024.1.0 + version: 0.1.0 release: r0 summary: WPE WebKit browser and display utilities description: WPE WebKit browser and display utilities