forked from intel/neural-speed
-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (39 loc) · 1.16 KB
/
windows-test.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
name: Windows Binary Test
on:
pull_request:
branches: [main]
paths:
- ".github/workflows/windows-test.yml"
- "requirements.txt"
- "setup.py"
- "neural_speed/**"
- "bestla/**"
- '!bestla/ut/**'
- '!bestla/xbyak/**'
- '!bestla/xbyak/*.md'
- '!neural_speed/*.md'
workflow_dispatch:
# If there is a new commit, the previous jobs will be canceled
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
env:
SCRIPT_PATH: ${{ github.workspace }}\.github\workflows\script
WORKING_DIR: ${{ github.workspace }}
jobs:
Windows-Binary-Test:
runs-on: 'Windows'
steps:
- name: Checkout out Repo
uses: actions/checkout@v4
with:
submodules: "recursive"
fetch-tags: true
path: "a"
- name: Binary build
shell: cmd
run: |
SET HTTP_PROXY=${{ vars.HTTP_PROXY_WINDOWS }}
SET HTTPS_PROXY=${{ vars.HTTP_PROXY_WINDOWS }}
cd ${{ github.workspace }}\a\.github\workflows\scripts
prepare_env_with_conda.bat