Skip to content

Commit 3fa7e7b

Browse files
committed
Update binary names to include target architecture
1 parent df6bd3a commit 3fa7e7b

4 files changed

Lines changed: 12 additions & 4 deletions

File tree

.github/workflows/cd-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ jobs:
141141
run: cargo install swift-bridge-cli
142142

143143
- name: Build ${{ matrix.crate }} binary
144-
run: cargo build --release --bin ${{ matrix.crate }}-cli --target ${{ matrix.arch }}
144+
run: cargo build --release --bin ${{ matrix.crate }}-cli-${{ matrix.arch }} --target ${{ matrix.arch }}
145145
working-directory: ./${{ matrix.crate }}
146146
env:
147147
RUST_BACKTRACE: full

.github/workflows/cd.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
- main
66

77
concurrency:
8-
group: "publish-draft-release"
8+
group: "cd"
99
cancel-in-progress: true
1010

1111
jobs:

lib-cpp/Cargo.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,11 @@ publish.workspace = true
1010

1111
[[bin]]
1212
path = "src/main.rs"
13-
name = "lib-cpp-cli"
13+
name = "lib-cpp-cli-x86_64-pc-windows-msvc"
14+
15+
[[bin]]
16+
path = "src/main.rs"
17+
name = "lib-cpp-cli-aarch64-pc-windows-msvc"
1418

1519
[dependencies]
1620
cxx = "1"

lib-swift/Cargo.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,11 @@ publish.workspace = true
1010

1111
[[bin]]
1212
path = "src/main.rs"
13-
name = "lib-swift-cli"
13+
name = "lib-swift-cli-aarch64-apple-darwin"
14+
15+
[[bin]]
16+
path = "src/main.rs"
17+
name = "lib-swift-cli-x86_64-apple-darwin"
1418

1519
[dependencies]
1620
swift-bridge = "0.1"

0 commit comments

Comments
 (0)