forked from facebookresearch/vrs
-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (32 loc) · 885 Bytes
/
build-and-test-pixi.yml
File metadata and controls
38 lines (32 loc) · 885 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: Build and Test - Pixi
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
name: Build VRS on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [macos-14, macos-latest, ubuntu-latest, windows-2022] # note: macos builds are arm only
steps:
- name : Setup repo
uses: actions/checkout@v4
- name : Remove Mono framework
if: runner.os == 'macOS'
run:
sudo rm -rf /Library/Frameworks/Mono.framework
sudo pkgutil --forget com.xamarin.mono-MDK.pkg
sudo rm /etc/paths.d/mono-commands
- name : Setup pixi
uses: prefix-dev/setup-pixi@v0.8.5
with:
pixi-version: v0.44.0
cache: false
- name: Build
run: pixi run build
- name: Test
run: pixi run test