Skip to content

Commit d718f47

Browse files
committed
move to just
1 parent 984bcb0 commit d718f47

2 files changed

Lines changed: 13 additions & 18 deletions

File tree

.github/workflows/build_and_test.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ jobs:
1717
- uses: ilammy/msvc-dev-cmd@v1
1818
- name: install cxxbridge
1919
run: cargo install cxxbridge-cmd
20-
- name: install cargo-make
21-
run: cargo install cargo-make
20+
- name: install just
21+
run: cargo install just
2222
- name: Compile test
23-
run: cargo make build_test
23+
run: just build_test
2424
- name: Build
2525
run: cargo build --verbose
2626
- name: Run tests
@@ -31,10 +31,10 @@ jobs:
3131
- uses: actions/checkout@v3
3232
- name: install cxxbridge
3333
run: cargo install cxxbridge-cmd
34-
- name: install cargo-make
35-
run: cargo install cargo-make
34+
- name: install just
35+
run: cargo install just
3636
- name: Compile test
37-
run: cargo make build_test
37+
run: just build_test
3838
- name: Build
3939
run: cargo build --verbose
4040
# - name: Run tests
@@ -45,10 +45,10 @@ jobs:
4545
- uses: actions/checkout@v3
4646
- name: install cxxbridge
4747
run: cargo install cxxbridge-cmd
48-
- name: install cargo-make
49-
run: cargo install cargo-make
48+
- name: install just
49+
run: cargo install just
5050
- name: Compile test
51-
run: cargo make build_test
51+
run: just build_test
5252
- name: Build
5353
run: cargo build --verbose
5454
- name: Run tests

Makefile.toml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
1-
[tasks.build_test]
2-
dependencies = ["build_configure"]
3-
cwd = "./test"
4-
command = "cmake"
5-
args = ["--build", "build", "--config", "Debug"]
1+
build_configure:
2+
cmake -S ./test -B ./test/build -DCMAKE_BUILD_TYPE=Debug
63

7-
[tasks.build_configure]
8-
cwd = "./test"
9-
command = "cmake"
10-
args = ["-S", ".", "-B", "build"]
4+
build_test: build_configure
5+
cmake --build ./test/build --config Debug

0 commit comments

Comments
 (0)