mirror of
https://github.com/wg/wrk
synced 2025-01-21 18:42:56 +08:00
configure github actions
This commit is contained in:
parent
0896020a2a
commit
c7698504a9
@ -1,46 +0,0 @@
|
||||
version: 2
|
||||
jobs:
|
||||
"alpine":
|
||||
docker:
|
||||
- image: alpine:latest
|
||||
steps:
|
||||
- run: apk update && apk add build-base git linux-headers perl
|
||||
- checkout
|
||||
- run: make
|
||||
"centos-7":
|
||||
docker:
|
||||
- image: centos:7
|
||||
steps:
|
||||
- run: yum groupinstall -y "Development Tools"
|
||||
- checkout
|
||||
- run: make
|
||||
"debian stable":
|
||||
docker:
|
||||
- image: debian:stable
|
||||
steps:
|
||||
- run: apt update && apt install -y build-essential git
|
||||
- checkout
|
||||
- run: make
|
||||
"ubuntu-16.04":
|
||||
docker:
|
||||
- image: ubuntu:16.04
|
||||
steps:
|
||||
- run: apt update && apt install -y build-essential git
|
||||
- checkout
|
||||
- run: make
|
||||
"ubuntu-18.04":
|
||||
docker:
|
||||
- image: ubuntu:18.04
|
||||
steps:
|
||||
- run: apt update && apt install -y build-essential git
|
||||
- checkout
|
||||
- run: make
|
||||
workflows:
|
||||
version: 2
|
||||
build:
|
||||
jobs:
|
||||
- "alpine"
|
||||
- "centos-7"
|
||||
- "debian stable"
|
||||
- "ubuntu-16.04"
|
||||
- "ubuntu-18.04"
|
17
.github/workflows/build.yml
vendored
Normal file
17
.github/workflows/build.yml
vendored
Normal file
@ -0,0 +1,17 @@
|
||||
name: build
|
||||
|
||||
on:
|
||||
push:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ${{ matrix.builder }}
|
||||
strategy:
|
||||
matrix:
|
||||
builder: [macos-latest, ubuntu-latest]
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: build
|
||||
run: make
|
@ -1,6 +0,0 @@
|
||||
jobs:
|
||||
- job: macos
|
||||
pool:
|
||||
vmImage: 'macos-10.14'
|
||||
steps:
|
||||
- script: make
|
Loading…
Reference in New Issue
Block a user