mirror of
https://github.com/OpenRC/openrc.git
synced 2024-11-26 19:33:39 +08:00
parent
80aad11b02
commit
0657bf0d25
26
.github/workflows/ci-alpine-linux.yml
vendored
Normal file
26
.github/workflows/ci-alpine-linux.yml
vendored
Normal file
@ -0,0 +1,26 @@
|
||||
name: ci_alpine_linux
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
|
||||
gcc-musl:
|
||||
runs-on: ubuntu-latest
|
||||
container: alpine:latest
|
||||
steps:
|
||||
- name: install deps
|
||||
run: >-
|
||||
apk --no-cache add \
|
||||
build-base \
|
||||
meson \
|
||||
pkgconf \
|
||||
linux-pam \
|
||||
linux-pam-dev
|
||||
- name: checkout
|
||||
uses: actions/checkout@v2
|
||||
- run: meson setup builddir/
|
||||
env:
|
||||
CC: gcc
|
||||
- run: ninja -C builddir
|
||||
env:
|
||||
CC: gcc
|
32
.github/workflows/ci-ubuntu.yml
vendored
Normal file
32
.github/workflows/ci-ubuntu.yml
vendored
Normal file
@ -0,0 +1,32 @@
|
||||
name: ci_ubuntu
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
|
||||
gcc-glibc:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- run: sudo apt-get update -q
|
||||
- run: sudo apt-get install -q -y build-essential libpam-dev meson
|
||||
- run: meson setup builddir/
|
||||
env:
|
||||
CC: gcc
|
||||
- run: ninja -C builddir
|
||||
env:
|
||||
CC: gcc
|
||||
|
||||
|
||||
clang-glibc:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- run: sudo apt-get update -q
|
||||
- run: sudo apt-get install -q -y build-essential clang libpam-dev meson
|
||||
- run: meson setup builddir/
|
||||
env:
|
||||
CC: clang
|
||||
- run: ninja -C builddir
|
||||
env:
|
||||
CC: clang
|
55
.github/workflows/ci_meson.yml
vendored
55
.github/workflows/ci_meson.yml
vendored
@ -1,55 +0,0 @@
|
||||
# Nabbed from https://github.com/mesonbuild/meson/blob/master/docs/markdown/Continuous-Integration.md#github-actions
|
||||
name: ci_meson
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
|
||||
linux-gcc-glibc-ubuntu:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- run: sudo apt-get update -q
|
||||
- run: sudo apt-get install -q -y build-essential libpam-dev meson
|
||||
- run: meson setup builddir/
|
||||
env:
|
||||
CC: gcc
|
||||
- run: ninja -C builddir
|
||||
env:
|
||||
CC: gcc
|
||||
|
||||
|
||||
linux-clang-glibc-ubuntu:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- run: sudo apt-get update -q
|
||||
- run: sudo apt-get install -q -y build-essential clang libpam-dev meson
|
||||
- run: meson setup builddir/
|
||||
env:
|
||||
CC: clang
|
||||
- run: ninja -C builddir
|
||||
env:
|
||||
CC: clang
|
||||
|
||||
|
||||
linux-gcc-alpine-musl:
|
||||
runs-on: ubuntu-latest
|
||||
container: alpine:latest
|
||||
steps:
|
||||
- name: install deps
|
||||
run: >-
|
||||
apk --no-cache add \
|
||||
build-base \
|
||||
meson \
|
||||
pkgconf \
|
||||
linux-pam \
|
||||
linux-pam-dev
|
||||
- name: checkout
|
||||
uses: actions/checkout@v2
|
||||
- run: meson setup builddir/
|
||||
env:
|
||||
CC: gcc
|
||||
- run: ninja -C builddir
|
||||
env:
|
||||
CC: gcc
|
Loading…
Reference in New Issue
Block a user