Skip to content

Commit

Permalink
[ci] Disable dartpy test with pixi for now
Browse files Browse the repository at this point in the history
  • Loading branch information
jslee02 committed Mar 14, 2024
1 parent 64407da commit 1f7989e
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 5 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/ci_macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,6 @@ jobs:

- name: Test DART and dartpy
run: |
pixi run test_all
pixi run test
pixi run test_dartpy
4 changes: 3 additions & 1 deletion .github/workflows/ci_ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,4 +88,6 @@ jobs:

- name: Test DART and dartpy
run: |
pixi run test_all
pixi run test
pixi run test_dartpy
7 changes: 6 additions & 1 deletion .github/workflows/ci_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,11 @@ jobs:
with:
cache: true

- name: Check Lint
run: pixi run check-lint

- name: Test DART and dartpy
run: |
pixi run test_all
pixi run test
pixi run test_dartpy
10 changes: 8 additions & 2 deletions pixi.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ platforms = ["linux-64", "osx-64", "osx-arm64", "win-64"]

[tasks]
clean = "rm -rf build"
lint = { cmd= "cmake --build build --target format", depends_on = ["configure"] }
check-lint = { cmd= "cmake --build build --target check-format", depends_on = ["configure"] }

[dependencies]
assimp = ">=5.3.1,<5.4"
Expand Down Expand Up @@ -50,6 +48,8 @@ xorg-libx11 = ">=1.8.7,<1.9"

[target.linux-64.tasks]
configure = "cmake -G Ninja -S . -B build -DDART_VERBOSE=ON"
lint = { cmd= "cmake --build build --target format && black . && isort .", depends_on = ["configure"] }
check-lint = { cmd= "black . --check && isort . --check", depends_on = ["configure"] }
build = { cmd = "cmake --build build -j --target all", depends_on = [
"configure",
] }
Expand All @@ -71,6 +71,8 @@ clang-format-14 = ">=14.0.6,<14.1"

[target.osx-64.tasks]
configure = "cmake -G Ninja -S . -B build -DDART_VERBOSE=ON"
lint = { cmd= "cmake --build build --target format && black . && isort .", depends_on = ["configure"] }
check-lint = { cmd= "cmake --build build --target check-format && black . --check && isort . --check", depends_on = ["configure"] }
build = { cmd = "cmake --build build -j --target all", depends_on = [
"configure",
] }
Expand All @@ -92,6 +94,8 @@ clang-format-14 = ">=14.0.6,<14.1"

[target.osx-arm64.tasks]
configure = "cmake -G Ninja -S . -B build -DDART_VERBOSE=ON"
lint = { cmd= "cmake --build build --target format && black . && isort .", depends_on = ["configure"] }
check-lint = { cmd= "cmake --build build --target check-format && black . --check && isort . --check", depends_on = ["configure"] }
build = { cmd = "cmake --build build -j --target all", depends_on = [
"configure",
] }
Expand All @@ -116,6 +120,8 @@ freeglut = ">=3.2.2,<3.3"

[target.win-64.tasks]
configure = "cmake -S . -B build -G 'Visual Studio 17 2022' -DCMAKE_BUILD_TYPE=Release -DDART_MSVC_DEFAULT_OPTIONS=ON -DBUILD_SHARED_LIBS=OFF -DDART_VERBOSE=ON"
lint = { cmd= "black . && isort .", depends_on = ["configure"] }
check-lint = { cmd= "black . --check && isort . --check", depends_on = ["configure"] }
build = { cmd = "cmake --build build --config Release -j --target all", depends_on = [
"configure",
] }
Expand Down
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,12 @@
requires = ["setuptools>=42", "wheel", "ninja", "cmake>=3.12", "requests"]
build-backend = "setuptools.build_meta"

[tool.black]
exclude = '/(build|dist|docs|examples|external|python|\.pixi)/'

[tool.isort]
profile = "black"
skip = ['build', 'dist', 'docs', 'examples', 'external', 'python', '.pixi']

[tool.mypy]
files = "setup.py"
Expand Down

0 comments on commit 1f7989e

Please sign in to comment.