forked from ariadne/pkgconf
ci: install scdoc
On Debian, install gcc and libc-dev instead of build-essential, as it drags in useless dependencies and its description explicitly says that it should only be installed if you need to build Debian packages. Also stop using meson's implicit setup command, as it's now discouraged: https://github.com/mesonbuild/meson/pull/10701
parent
92efe9af88
commit
fc088bb7fe
|
@ -35,7 +35,7 @@ jobs:
|
|||
# the code assumes msvc style printf atm
|
||||
export CFLAGS=-D__USE_MINGW_ANSI_STDIO=0
|
||||
|
||||
meson -Dtests=false _build
|
||||
meson setup -Dtests=false _build
|
||||
meson compile -C _build
|
||||
|
||||
debian-meson:
|
||||
|
@ -49,11 +49,11 @@ jobs:
|
|||
- name: Update system and add dependencies
|
||||
run: |
|
||||
apt-get update
|
||||
apt-get install -y kyua atf-sh build-essential meson
|
||||
apt-get install -y kyua atf-sh gcc libc-dev meson scdoc
|
||||
|
||||
- name: Build
|
||||
run: |
|
||||
meson _build -Dwerror=true
|
||||
meson setup _build -Dwerror=true
|
||||
meson compile -C _build
|
||||
|
||||
- name: Run tests
|
||||
|
@ -71,11 +71,11 @@ jobs:
|
|||
- name: Update system and add dependencies
|
||||
run: |
|
||||
apt-get update
|
||||
apt-get install -y kyua atf-sh build-essential meson
|
||||
apt-get install -y kyua atf-sh gcc libc-dev meson scdoc
|
||||
|
||||
- name: Build
|
||||
run: |
|
||||
meson _build -Db_sanitize=address
|
||||
meson setup _build -Db_sanitize=address
|
||||
meson compile -C _build
|
||||
|
||||
- name: Run tests
|
||||
|
@ -95,7 +95,7 @@ jobs:
|
|||
- name: Update system and add dependencies
|
||||
run: |
|
||||
apt-get update
|
||||
apt-get install -y kyua atf-sh build-essential autoconf libtool
|
||||
apt-get install -y kyua atf-sh gcc libc-dev make autoconf libtool
|
||||
|
||||
- name: Build
|
||||
run: |
|
||||
|
@ -122,7 +122,7 @@ jobs:
|
|||
|
||||
- name: Build
|
||||
run: |
|
||||
meson _build -Dwerror=true
|
||||
meson setup _build -Dwerror=true
|
||||
meson compile -C _build
|
||||
|
||||
- name: Run tests
|
||||
|
|
|
@ -3,8 +3,8 @@ pipeline:
|
|||
image: debian:testing
|
||||
commands:
|
||||
- apt-get update
|
||||
- apt-get install -y kyua atf-sh build-essential meson
|
||||
- meson _build -Dwerror=true
|
||||
- apt-get install -y kyua atf-sh gcc libc-dev meson scdoc
|
||||
- meson setup _build -Dwerror=true
|
||||
- meson compile -C _build
|
||||
- meson test -v -C _build
|
||||
when:
|
||||
|
@ -18,8 +18,8 @@ pipeline:
|
|||
- ASAN_OPTIONS="exitcode=7"
|
||||
commands:
|
||||
- apt-get update
|
||||
- apt-get install -y kyua atf-sh build-essential meson
|
||||
- meson _build -Db_sanitize=address
|
||||
- apt-get install -y kyua atf-sh gcc libc-dev meson scdoc
|
||||
- meson setup _build -Db_sanitize=address
|
||||
- meson compile -C _build
|
||||
- meson test -v -C _build
|
||||
when:
|
||||
|
@ -31,7 +31,7 @@ pipeline:
|
|||
image: debian:testing
|
||||
commands:
|
||||
- apt-get update
|
||||
- apt-get install -y kyua atf-sh build-essential autoconf libtool
|
||||
- apt-get install -y kyua atf-sh gcc libc-dev make autoconf libtool
|
||||
- ./autogen.sh
|
||||
- ./configure
|
||||
- make -j
|
||||
|
@ -45,7 +45,7 @@ pipeline:
|
|||
image: alpine
|
||||
commands:
|
||||
- apk add -U --no-cache kyua atf build-base meson
|
||||
- meson _build -Dwerror=true
|
||||
- meson setup _build -Dwerror=true
|
||||
- meson compile -C _build
|
||||
- meson test -v -C _build
|
||||
when:
|
||||
|
|
Loading…
Reference in New Issue