Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,9 @@ jobs:
uses: lukka/get-cmake@latest

- name: Install cargo make
run: cargo install cargo-make
uses: taiki-e/install-action@v2
with:
tool: cargo-make

- name: Check with clippy
run: cargo clippy -p longbridge-c --all-features
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,9 @@ jobs:
uses: lukka/get-cmake@latest

- name: Install cargo make
run: cargo install cargo-make
uses: taiki-e/install-action@v2
with:
tool: cargo-make

- name: Build
if: ${{ matrix.settings.target != 'aarch64-apple-darwin' }}
Expand Down Expand Up @@ -348,7 +350,9 @@ jobs:
uses: lukka/get-cmake@latest

- name: Install cargo make
run: cargo install cargo-make
uses: taiki-e/install-action@v2
with:
tool: cargo-make

- name: Build
if: ${{ matrix.settings.target != 'aarch64-apple-darwin' }}
Expand Down
12 changes: 6 additions & 6 deletions c/Makefile.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ args = ["cargo-build_longbridge_c"]
cwd = "cmake.build"

[tasks.c.windows]
command = "msbuild"
args = ["longbridge.sln", "-p:Configuration=Debug", "/t:cargo-build_longbridge_c"]
command = "cmake"
args = ["--build", ".", "--config", "Debug", "--target", "cargo-build_longbridge_c"]
cwd = "cmake.build"

[tasks.c-release.windows]
command = "msbuild"
args = ["longbridge.sln", "-p:Configuration=Release", "/t:cargo-build_longbridge_c"]
command = "cmake"
args = ["--build", ".", "--config", "Release", "--target", "cargo-build_longbridge_c"]
cwd = "cmake.build"

[tasks.c-test]
Expand All @@ -24,6 +24,6 @@ args = ["test-c"]
cwd = "cmake.build"

[tasks.c-test.windows]
command = "msbuild"
args = ["longbridge.sln", "-p:Configuration=Debug", "/t:test-c"]
command = "cmake"
args = ["--build", ".", "--config", "Debug", "--target", "test-c"]
cwd = "cmake.build"
12 changes: 6 additions & 6 deletions cpp/Makefile.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ args = ["longbridge_cpp"]
cwd = "cmake.build"

[tasks.cpp.windows]
command = "msbuild"
args = ["longbridge.sln", "-p:Configuration=Debug", "/t:longbridge_cpp"]
command = "cmake"
args = ["--build", ".", "--config", "Debug", "--target", "longbridge_cpp"]
cwd = "cmake.build"

[tasks.cpp-release.windows]
command = "msbuild"
args = ["longbridge.sln", "-p:Configuration=Release", "/t:longbridge_cpp"]
command = "cmake"
args = ["--build", ".", "--config", "Release", "--target", "longbridge_cpp"]
cwd = "cmake.build"

[tasks.cpp-test]
Expand All @@ -24,6 +24,6 @@ args = ["test-cpp"]
cwd = "cmake.build"

[tasks.cpp-test.windows]
command = "msbuild"
args = ["longbridge.sln", "-p:Configuration=Debug", "/t:test-cpp"]
command = "cmake"
args = ["--build", ".", "--config", "Debug", "--target", "test-cpp"]
cwd = "cmake.build"
Loading