Skip to content

Commit e6dc822

Browse files
committed
{CI} Experimental - Use Pixi for CI
1 parent fe46daf commit e6dc822

File tree

4 files changed

+4747
-0
lines changed

4 files changed

+4747
-0
lines changed
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: Build and Test - Pixi
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
9+
jobs:
10+
build:
11+
name: Build VRS on ${{ matrix.os }}
12+
runs-on: ${{ matrix.os }}
13+
strategy:
14+
fail-fast: false
15+
matrix:
16+
os: [ubuntu-latest, macos-latest, macos-14] # macos-14 is macSilicon
17+
steps:
18+
- name : Setup repo
19+
uses: actions/checkout@v2
20+
21+
- name : Remove Mono framework
22+
if: runner.os == 'macOS'
23+
run:
24+
sudo rm -rf /Library/Frameworks/Mono.framework
25+
sudo pkgutil --forget com.xamarin.mono-MDK.pkg
26+
sudo rm /etc/paths.d/mono-commands
27+
28+
- name : Setup pixi
29+
uses: prefix-dev/setup-pixi@v0.5.1
30+
with:
31+
pixi-version: v0.13.0
32+
cache: false
33+
34+
- name: Build
35+
run: pixi run build
36+
37+
- name: Test
38+
run: pixi run test

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
.DS_Store
22
CMakeLists.txt.user
33
build
4+
# pixi environments
5+
.pixi
6+

0 commit comments

Comments
 (0)