-
Notifications
You must be signed in to change notification settings - Fork 4
62 lines (53 loc) · 1.35 KB
/
ci-integration.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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
on:
workflow_dispatch:
push:
branches:
- master
schedule:
- cron: '30 1 * * *'
name: CI Integration
jobs:
integration:
name: integration
runs-on: ubuntu-latest
strategy:
matrix:
os: [ubuntu-20.04, ubuntu-22.04, macos-11, macos-12, windows-2022, windows-2019]
env:
P4PORT: ${{ secrets.P4PORT }}
P4USER: ${{ secrets.P4USER }}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: p4 login
uses: ./
id: login
with:
command: login
env:
P4PASSWD: ${{ secrets.P4PASSWD }}
- name: p4 client
uses: ./
id: client
with:
command: client
arguments: -i
spec: |
Client: github-actions-setup-p4
Owner: ${{ secrets.P4USER }}
Description:
Created by ${{ secrets.P4USER }}.
Root: /tmp
Options: noallwrite noclobber nocompress unlocked modtime rmdir
SubmitOptions: leaveunchanged
LineEnd: local
View:
//guest/perforce_software/sdp/... //github-actions-setup-p4/guest/perforce_software/sdp/...
- name: p4 sync
uses: ./
id: sync
env:
P4CLIENT: github-actions-setup-p4
with:
command: sync
arguments: -f