72
72
backend-type : metal
73
73
74
74
test-curve :
75
- name : Test Curve on ${{ matrix.backend }} with ${{ matrix.runner_os }}
75
+ name : Test Curve on ${{ matrix.backend }} with ${{ matrix.os }}
76
76
runs-on : ${{ matrix.runner }}
77
77
needs : [check-changed-files, check-format, extract-cuda-backend-branch, extract-metal-backend-branch]
78
78
strategy :
@@ -82,10 +82,12 @@ jobs:
82
82
- backend : cuda
83
83
backend_upper : CUDA
84
84
secret_key : CUDA_PULL_KEY
85
+ os : Linux
85
86
runner : ' self-hosted, Linux, X64, icicle'
86
87
- backend : metal
87
88
backend_upper : METAL
88
89
secret_key : METAL_PULL_KEY
90
+ os : macOS
89
91
runner : ' self-hosted, macOS, arm64, icicle, metal'
90
92
curve :
91
93
- name : bn254
@@ -127,12 +129,12 @@ jobs:
127
129
run : |
128
130
BACKEND_SHA=$(git rev-parse HEAD)
129
131
echo "Backend Commit SHA: $BACKEND_SHA"
130
- echo "${{ matrix.backend }} -backend-sha=$BACKEND_SHA" >> $GITHUB_ENV
132
+ echo "extracted -backend-sha=$BACKEND_SHA" >> $GITHUB_OUTPUT
131
133
- name : Set ${{ matrix.backend_upper }} backend flag
132
134
if : needs.check-changed-files.outputs.golang == 'true' || needs.check-changed-files.outputs.cpp == 'true' || needs.check-changed-files.outputs.rust == 'true'
133
135
id : backend-flag
134
136
run : |
135
- BACKEND_SHA=${{ env.${{ matrix. backend }} -backend-sha }}
137
+ BACKEND_SHA=${{ steps.extract- backend-sha.outputs.extracted -backend-sha }}
136
138
CURVE=${{ matrix.curve.name }}
137
139
COMMIT_FILE="gh_commit_sha_${CURVE}_${BACKEND_SHA}"
138
140
if [ "${{ needs.extract-${{ matrix.backend }}-backend-branch.outputs.${{ matrix.backend }}-backend-branch }}" == "main" ]; then
0 commit comments