Skip to content

Commit

Permalink
ci: Verify installation for ubuntu versions
Browse files Browse the repository at this point in the history
- 24.04
- 22.04
- 20.04
  • Loading branch information
AiyionPrime committed Oct 24, 2024
1 parent 9dc2e74 commit 0532a1b
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/ci_ubuntu_verify_installation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,12 @@ name: CI ubuntu verify installation
workflow_call: null
jobs:
fetch_installations:
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
outputs:
cm_versions: ${{ steps.extract-versions.outputs.cm_versions }}
strategy:
matrix:
os: [ubuntu-20.04, ubuntu-22.04, ubuntu-24.04]
steps:
- name: Checkout (GitHub)
uses: actions/checkout@v4
Expand All @@ -31,10 +34,11 @@ jobs:
versions=$(cat versions.txt | jq -R -s -c 'split("\n") | map(select(. != ""))')
echo "cm_versions=$versions" >> $GITHUB_OUTPUT
package_is_installable:
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
needs: fetch_installations
strategy:
matrix:
os: [ubuntu-20.04, ubuntu-22.04, ubuntu-24.04]
version: ${{ fromJson(needs.fetch_installations.outputs.cm_versions) }}
steps:
- name: Checkout (GitHub)
Expand Down

0 comments on commit 0532a1b

Please sign in to comment.