Skip to content

Commit a3d2ae6

Browse files
authored
Add basic support for pixi and CI (#1)
1 parent 66523a3 commit a3d2ae6

6 files changed

Lines changed: 2156 additions & 2 deletions

File tree

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# SCM syntax highlighting & preventing 3-way merges
2+
pixi.lock merge=binary linguist-language=YAML linguist-generated=true

.github/workflows/test-pixi.yaml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Run tests with pixi
2+
3+
on:
4+
workflow_dispatch:
5+
pull_request:
6+
7+
jobs:
8+
pixi-test:
9+
name: '[pixi:${{ matrix.os }}]'
10+
runs-on: ${{ matrix.os }}
11+
strategy:
12+
fail-fast: false
13+
matrix:
14+
os: [
15+
ubuntu-22.04,
16+
ubuntu-24.04-arm,
17+
macos-latest,
18+
windows-2019
19+
]
20+
steps:
21+
- uses: actions/checkout@v4
22+
23+
- name: Set up pixi
24+
uses: prefix-dev/setup-pixi@v0.8.1
25+
26+
- name: Build and test the project
27+
run: pixi run test

.gitignore

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
.*
21
.DS_Store
32
*.coverage
43
*.egg-info
@@ -32,3 +31,8 @@ doc/html
3231
ipch
3332
Debug
3433
Release
34+
35+
# pixi environments
36+
.pixi
37+
*.egg-info
38+
.build

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cmake_minimum_required(VERSION 2.8.3)
1+
cmake_minimum_required(VERSION 2.8.3...3.10)
22
project(serial)
33

44
if(APPLE)

0 commit comments

Comments
 (0)