Skip to content

Commit

Permalink
Build with pixi
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Carroll <mjcarroll@intrinsic.ai>
  • Loading branch information
mjcarroll committed Nov 8, 2023
1 parent dfd98e7 commit ce24eea
Show file tree
Hide file tree
Showing 6 changed files with 8,386 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# GitHub syntax highlighting
pixi.lock linguist-language=YAML

22 changes: 22 additions & 0 deletions .github/ci/colcon_defaults.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"build": {
"merge-install": true,
"cmake-args": [
"-GNinja",
"--no-warn-unused-cli",
"-DCMAKE_BUILD_TYPE=RelWithDebInfo",
"-DBUILD_DOCS:bool=false",
"-DSKIP_optix:bool=true"
],
"event-handlers": [
"console_cohesion+",
"console_package_list+",
]
},
"test": {
"merge-install": true,
"event-handlers": [
"console_direct+",
]
}
}
17 changes: 17 additions & 0 deletions .github/workflows/pixi.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Pixi-based CI
on: [push, pull_request]

jobs:
default:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: prefix-dev/setup-pixi@v0.3.0
with:
pixi-version: v0.6.0
cache: true
- run: pixi run sync collection-ionic.yaml
- run: pixi run build
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
*.pyc

.pixi
build
log
install
src
Loading

0 comments on commit ce24eea

Please sign in to comment.