Skip to content

Commit 8ec6142

Browse files
committed
Rework using Gihub Actions
1 parent 339f17e commit 8ec6142

File tree

2 files changed

+17
-15
lines changed

2 files changed

+17
-15
lines changed

.github/workflows/agreement.yml

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: "Contribution Agreement"
2+
on:
3+
pull_request
4+
5+
jobs:
6+
AgreementCheck:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- name: Checkout
10+
uses: actions/checkout@v2
11+
with:
12+
fetch-depth: 0
13+
- run: |
14+
echo Looking up contributor
15+
tail -n +36 Contribution\ Agreement.md | awk -F\| '{print $3}' | grep -w $USER
16+
env:
17+
USER: ${{ github.actor }}

azure-pipelines.yml

-15
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,8 @@ trigger:
33
- release/*
44

55
jobs:
6-
- job: CLA
7-
timeoutInMinutes: 5
8-
pool:
9-
vmImage: 'ubuntu-latest'
10-
11-
steps:
12-
- script: |
13-
echo Checking contribution agreement for $USER
14-
tail -n +36 Contribution\ Agreement.md | awk -F\| '{print $3}' | grep -wq $USER
15-
displayName: "Check Contributor Agreement"
16-
env:
17-
USER: $(Build.RequestedFor)
18-
196
- job: CMake
207
timeoutInMinutes: 120
21-
dependsOn: CLA
228
strategy:
239
maxParallel: 6
2410
matrix:
@@ -91,7 +77,6 @@ jobs:
9177
9278
- job: MSVC
9379
timeoutInMinutes: 120
94-
dependsOn: CLA
9580
pool:
9681
vmImage: 'windows-latest'
9782
strategy:

0 commit comments

Comments
 (0)