File tree 1 file changed +36
-0
lines changed
1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Test check_binary
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - main
7
+ pull_request :
8
+ paths :
9
+ - .github/workflows/test-check-binary.sh
10
+ - check_binary.sh
11
+ - test/smoke_test/smoke_test.py
12
+
13
+ concurrency :
14
+ group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}-${{ github.event_name == 'workflow_dispatch' }}
15
+ cancel-in-progress : true
16
+
17
+ jobs :
18
+ check_binary :
19
+ name : Test check binary
20
+
21
+ runs-on : ubuntu-22.04
22
+ steps :
23
+ - uses : actions/checkout@v3
24
+
25
+ - name : Setup Python
26
+ uses : actions/setup-python@v4
27
+ with :
28
+ python-version : " 3.11"
29
+ - name : Install latest nightly
30
+ run : |
31
+ pip install --pre torch --index-url https://download.pytorch.org/whl/nightly/cpu
32
+ lintrunner init
33
+ - name : Run check_binary.sh
34
+ run : |
35
+ set +e
36
+ DESIRED_PYTHON=3.11 DESIRED_CUDA=cpu PACKAGE_TYPE=manywheel ./check_binary.sh
You can’t perform that action at this time.
0 commit comments