spread: plucky is now open #541
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Spread | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.number && format('pr{0}', github.event.number) || github.run_id }} | |
cancel-in-progress: true | |
on: | |
push: | |
branches: | |
- main | |
- release/[0-9]+.[0-9]+ | |
tags: | |
- v[0-9]+[0-9]+.[0-9]+ | |
merge_group: | |
types: [checks_requested] | |
pull_request: | |
types: [opened, synchronize, reopened, ready_for_review] | |
jobs: | |
BuildAndTest: | |
strategy: | |
fail-fast: false | |
matrix: | |
spread-task: | |
- lxd:ubuntu-23.10:...:gcc | |
- lxd:ubuntu-24.04:...:gcc | |
- lxd:ubuntu-24.10:...:gcc | |
- lxd:ubuntu-24.10:...:clang | |
- lxd:fedora-39:...:gcc | |
- lxd:fedora-40:...:gcc | |
- lxd:fedora-rawhide:...:gcc | |
- lxd:alpine-3.19:...:gcc | |
- lxd:alpine-3.20:...:gcc | |
- lxd:ubuntu-devel:...:gcc | |
- lxd:ubuntu-devel:...:clang | |
- lxd:alpine-edge:...:gcc | |
- lxd:archlinux-cloud:...:gcc | |
runs-on: ubuntu-latest | |
env: | |
DEBFULLNAME: "Mir CI Bot" | |
DEBEMAIL: "[email protected]" | |
steps: | |
- name: Set up LXD | |
uses: canonical/setup-lxd@main | |
- name: Set up Spread | |
run: | | |
set -euo pipefail | |
sudo snap install spread-mir-ci | |
sudo snap run lxd init --auto | |
- name: Check out code | |
uses: actions/checkout@v4 | |
- name: Run Spread task | |
run: snap run spread-mir-ci.spread -v ${{ matrix.spread-task }} |