Skip to content

Commit

Permalink
w6
Browse files Browse the repository at this point in the history
  • Loading branch information
jslee02 committed Apr 5, 2024
1 parent cb1ee5b commit 3d9734d
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/ci_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
fail-fast: false
matrix:
toolset: [""]
build_type: [Debug, Release]
build_type: [Release, Debug]
build_shared_libs: [OFF] # TODO(JS): Add ON once shared lib build is resolved

steps:
Expand Down Expand Up @@ -93,8 +93,12 @@ jobs:
|| exit /b
build_on_pixi:
name: win-pixi
name: win-pixi-${{ matrix.build_type }}
runs-on: windows-latest
strategy:
fail-fast: false
matrix:
build_type: ["", "-dev"]
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -109,4 +113,4 @@ jobs:

- name: Test DART and dartpy
run: |
pixi run test # TODO: Change to test-all
pixi run test${{ matrix.build_type }} # TODO: Change to test-all
12 changes: 12 additions & 0 deletions pixi.toml
Original file line number Diff line number Diff line change
Expand Up @@ -64,13 +64,19 @@ build-dev = { cmd = "cmake --build build -j --target all", depends_on = [
build-tests = { cmd = "cmake --build build -j --target tests", depends_on = [
"configure",
] }
build-tests-dev = { cmd = "cmake --build build -j --target tests", depends_on = [
"configure-dev",
] }
build-dartpy = { cmd = "cmake --build build -j --target dartpy", depends_on = [
"configure",
] }

test = { cmd = "ctest --test-dir build --output-on-failure", depends_on = [
"build-tests",
] }
test-dev = { cmd = "ctest --test-dir build --output-on-failure", depends_on = [
"build-tests-dev",
] }
test-dartpy = { cmd = "cmake --build build -j --target pytest", depends_on = [
"configure",
] }
Expand Down Expand Up @@ -161,12 +167,18 @@ build-dev = { cmd = "cmake --build build --config Debug -j", depends_on = [
build-tests = { cmd = "cmake --build build --config Release -j --target tests", depends_on = [
"configure",
] }
build-tests-dev = { cmd = "cmake --build build --config Debug -j --target tests", depends_on = [
"configure",
] }
build-dartpy = { cmd = "cmake --build build -j --target dartpy", depends_on = [
"configure",
] }
test = { cmd = "ctest --test-dir build --build-config Release --output-on-failure", depends_on = [
"build-tests",
] }
test-dev = { cmd = "ctest --test-dir build --build-config Debug --output-on-failure", depends_on = [
"build-tests-dev",
] }
test-dartpy = { cmd = "cmake --build build --config Release -j --target pytest", depends_on = [
"configure",
] }
Expand Down

0 comments on commit 3d9734d

Please sign in to comment.