File tree Expand file tree Collapse file tree 3 files changed +56
-1
lines changed
Expand file tree Collapse file tree 3 files changed +56
-1
lines changed Original file line number Diff line number Diff line change 1+ # Copyright 2025 Yunze Xu
2+ #
3+ # Licensed under the Apache License, Version 2.0 (the "License");
4+ # you may not use this file except in compliance with the License.
5+ # You may obtain a copy of the License at
6+ #
7+ # http://www.apache.org/licenses/LICENSE-2.0
8+ #
9+ # Unless required by applicable law or agreed to in writing, software
10+ # distributed under the License is distributed on an "AS IS" BASIS,
11+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+ # See the License for the specific language governing permissions and
13+ # limitations under the License.
14+
15+ name : Release
16+
17+ on :
18+ push :
19+ tags :
20+ - ' v*'
21+
22+ concurrency :
23+ group : ${{ github.workflow }}-${{ github.ref }}
24+ cancel-in-progress : true
25+
26+ jobs :
27+
28+ release-osx-arm64 :
29+ name : Build binary on macOS arm64
30+ runs-on : macos-14
31+ timeout-minutes : 60
32+
33+ steps :
34+ - name : checkout
35+ uses : actions/checkout@v3
36+ with :
37+ fetch-depth : 0
38+ submodules : recursive
39+
40+ - name : build
41+ run : |
42+ echo "Building for macOS..."
43+ mkdir -p build
44+ cmake -B build
45+ cmake --build build
46+ cp ./build/snctl-cpp .
47+
48+ - name : upload
49+ uses : actions/upload-artifact@master
50+ with :
51+ name : snctl-cpp-macos-14-arm64
52+ path : snctl-cpp
Original file line number Diff line number Diff line change 1+ [submodule "vcpkg "]
2+ path = vcpkg
3+ url = https://github.com/microsoft/vcpkg.git
You can’t perform that action at this time.
0 commit comments