Skip to content

Commit 34f02f9

Browse files
committed
Moved FFI crate and workflow
1 parent 7d6ae36 commit 34f02f9

16 files changed

Lines changed: 17 additions & 18 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,9 @@ jobs:
3838
# macos-13 (x86_64)
3939
- target: x86_64-apple-darwin
4040
image: macos-13
41-
setup: brew install tree
4241
# macos-15 (aarch64)
4342
- target: aarch64-apple-darwin
4443
image: macos-15
45-
setup: brew install tree
4644
# windows-2022 (x86_64)
4745
- target: x86_64-pc-windows-msvc
4846
image: windows-2022
@@ -77,15 +75,15 @@ jobs:
7775
- name: Setup rust
7876
run: rustup target add ${{ matrix.target }}
7977

80-
- name: Test (debug)
78+
- name: Test (debug) (test=${{ matrix.test }})
8179
if: ${{ matrix.test == null || matrix.test }}
8280
run: cargo test --target ${{ matrix.target }} --workspace --exclude portablemc-py -- --include-ignored
8381

8482
- name: Build (release)
8583
run: cargo build --target ${{ matrix.target }} --release --workspace --exclude portablemc-py
8684

8785
- name: Debug path
88-
run: tree ./target/
86+
run: ls -la ./target/${{ matrix.target }}/release
8987

9088
publish:
9189
needs: build

Cargo.lock

Lines changed: 11 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[workspace]
2-
members = ["portablemc", "portablemc-cli", "portablemc-c", "portablemc-py"]
2+
members = ["portablemc", "portablemc-cli", "portablemc-ffi", "portablemc-py"]
33
resolver = "2"
44

55
[workspace.package]
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
2-
name = "portablemc-c"
3-
description = "Bindings to PortableMC for C language."
2+
name = "portablemc-ffi"
3+
description = "Bindings to PortableMC for C language, and more in the future."
44
edition.workspace = true
55
version.workspace = true
66
authors.workspace = true
@@ -23,5 +23,6 @@ serde_json.workspace = true
2323
tempfile.workspace = true
2424

2525
[lib]
26+
# Named like this to avoid collision with portablemc, it's renamed by deploy workflow.
2627
name = "portablemc_ffi"
2728
crate-type = ["staticlib", "cdylib"]

0 commit comments

Comments
 (0)