-
Notifications
You must be signed in to change notification settings - Fork 217
40 lines (34 loc) · 1.28 KB
/
common_windows_x86_64.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
name: common-windows-x86-64
on:
#push:
# branches: [ master ]
# paths-ignore: ['.**', 'docker/**', 'docs/**', 'samples/**', README.md]
pull_request:
branches: [ master ]
paths-ignore: ['.**', 'docker/**', 'docs/**', 'samples/**', README.md,
'cmake/arm.cmake', 'cmake/cuda.cmake', 'cmake/riscv.cmake',
'include/ppl/nn/engines/arm/**', 'src/ppl/nn/engines/arm/**',
'include/ppl/nn/engines/cuda/**', 'src/ppl/nn/engines/cuda/**',
'include/ppl/nn/engines/riscv/**', 'src/ppl/nn/engines/riscv/**']
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}--${{ github.head_ref || github.run_id }}--${{ github.ref }}--${{ github.event_name }}
cancel-in-progress: true
jobs:
build_and_test:
runs-on: [self-hosted, x64, windows]
steps:
- name: Create Checkout Directory
run: |
cd ../../ ; ./make_pplnn_dir.ps1 ${{ github.run_id }}
- name: Checkout
uses: actions/checkout@v2
with:
path: ${{ github.run_id }}
- name: Build
run: |
cd ../../ ; ./build_pplnn.ps1 ${{ github.run_id }} x86_64
- name: clean
if: ${{ always() }}
run: |
cd ../../ ; ./clean_pplnn.ps1 ${{ github.run_id }} x86_64