forked from mesonbuild/meson
-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (32 loc) · 1011 Bytes
/
stable_builddir.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: stable build directories
on:
push:
branches:
- '[0-9]+.[0-9]+'
permissions:
contents: read
jobs:
regression:
runs-on: ubuntu-latest
env:
TESTDIR: "manual tests/13 builddir upgrade"
steps:
- uses: actions/checkout@v4
- name: install ninja
run: sudo apt-get -y install build-essential ninja-build
- name: Fetch tags and unshallow
run: git fetch --unshallow --tags
- name: Checkout latest release on this branch
run: |
cp -r "$TESTDIR" "$TESTDIR"-temp
git checkout "$(git describe --abbrev=0)"
- name: Configure with most recent tag
run: ./meson.py setup "$TESTDIR"-temp builddir
- name: Return to testing commit
run: git checkout $GITHUB_SHA
- name: check that everything still works
run: |
./meson.py compile -C builddir
ninja -C builddir test
DESTDIR=pkg ninja -C builddir install
./meson.py introspect builddir --all