Skip to content

Commit

Permalink
[ci][win] Enable pixi build
Browse files Browse the repository at this point in the history
  • Loading branch information
jslee02 committed Mar 13, 2024
1 parent 799df22 commit 3fe763c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/ci_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,14 +71,14 @@ jobs:
--output-on-failure `
--config %BUILD_TYPE%
# build_on_pixi:
# name: win-pixi
# runs-on: windows-latest
# steps:
# - name: Checkout
# uses: actions/checkout@v4
# - uses: prefix-dev/[email protected]
# with:
# cache: true
# - run: |
# pixi run test_all
build_on_pixi:
name: win-pixi
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: prefix-dev/[email protected]
with:
cache: true
- run: |
pixi run test_all
6 changes: 3 additions & 3 deletions pixi.toml
Original file line number Diff line number Diff line change
Expand Up @@ -88,13 +88,13 @@ 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"
build = { cmd = "cmake --build build -j --target all -C Release", depends_on = [
build = { cmd = "cmake --build build --config Release -j --target all", depends_on = [
"configure",
] }
test = { cmd = "ctest --test-dir build --rerun-failed --output-on-failure -C Release", depends_on = [
test = { cmd = "ctest --test-dir build --config Release --rerun-failed --output-on-failure", depends_on = [
"build",
] }
test_all = { cmd = "cmake --build build -j4 --target ALL", depends_on = [
test_all = { cmd = "cmake --build build --config Release -j4 --target ALL", depends_on = [
"configure",
] }

Expand Down

0 comments on commit 3fe763c

Please sign in to comment.