Skip to content

Commit b83f90e

Browse files
authored
Merge pull request #650 from mihalicyn/compat_test_ext
github: add live upgrade test between stable-{5,6} branches
2 parents 3b1e621 + 15f614c commit b83f90e

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/tests.yml

+6-2
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,12 @@ jobs:
101101
matrix:
102102
compiler:
103103
- gcc
104-
- clang
105104
os:
106105
- ubuntu-22.04
106+
branch:
107+
- stable-5.0
108+
- stable-6.0
109+
- main
107110
runs-on: ${{ matrix.os }}
108111
steps:
109112
- name: Checkout code
@@ -134,8 +137,9 @@ jobs:
134137
- name: Build upstream head version
135138
env:
136139
CC: ${{ matrix.compiler }}
140+
BASE_BRANCH: ${{ matrix.branch }}
137141
run: |
138-
git clone https://github.com/lxc/lxcfs.git ../upstream-lxcfs
142+
git clone -b "${BASE_BRANCH}" https://github.com/lxc/lxcfs.git ../upstream-lxcfs
139143
cd ../upstream-lxcfs
140144
meson setup -Ddocs=false -Dtests=true -Dinit-script=systemd -Dprefix=/usr -Db_sanitize=address,undefined build/
141145
meson compile -C build

0 commit comments

Comments
 (0)