Skip to content

Commit

Permalink
github: add live upgrade test between stable-{5,6} branches
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Mikhalitsyn <aleksandr.mikhalitsyn@canonical.com>
  • Loading branch information
mihalicyn committed Jun 10, 2024
1 parent 3b1e621 commit 15f614c
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,12 @@ jobs:
matrix:
compiler:
- gcc
- clang
os:
- ubuntu-22.04
branch:
- stable-5.0
- stable-6.0
- main
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
Expand Down Expand Up @@ -134,8 +137,9 @@ jobs:
- name: Build upstream head version
env:
CC: ${{ matrix.compiler }}
BASE_BRANCH: ${{ matrix.branch }}
run: |
git clone https://github.com/lxc/lxcfs.git ../upstream-lxcfs
git clone -b "${BASE_BRANCH}" https://github.com/lxc/lxcfs.git ../upstream-lxcfs
cd ../upstream-lxcfs
meson setup -Ddocs=false -Dtests=true -Dinit-script=systemd -Dprefix=/usr -Db_sanitize=address,undefined build/
meson compile -C build
Expand Down

0 comments on commit 15f614c

Please sign in to comment.