File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ pull_request :
5+ branches : [main]
6+ push :
7+ branches : [main]
8+
9+ permissions :
10+ contents : read
11+
12+ concurrency :
13+ group : ${{ github.workflow }}-${{ github.ref }}
14+ cancel-in-progress : true
15+
16+ jobs :
17+
18+ check :
19+ name : make check
20+ if : github.repository == 'apple/coreai-optimization'
21+ runs-on : [self-hosted, macos, tahoe, ARM64]
22+ timeout-minutes : 30
23+ steps :
24+ - uses : actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
25+ - name : Install uv
26+ uses : astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0
27+ with :
28+ enable-cache : false
29+ - run : make check
30+
31+ macos-tests :
32+ name : macos / torch=highest / fast
33+ needs : [check]
34+ if : github.repository == 'apple/coreai-optimization'
35+ runs-on : [self-hosted, macos, tahoe, ARM64]
36+ timeout-minutes : 60
37+ steps :
38+ - uses : actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
39+ - name : Install uv
40+ uses : astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0
41+ with :
42+ enable-cache : false
43+ - name : Run tests
44+ run : make test-highest-pytorch PYTEST_ARGS="--marker 'not slow' --junit"
45+ - name : Upload test results
46+ if : always()
47+ uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
48+ with :
49+ name : test-results-macos-highest-fast
50+ path : test-results/
You can’t perform that action at this time.
0 commit comments