Skip to content

Commit

Permalink
Add pixi-conda CI
Browse files Browse the repository at this point in the history
	new file:   .github/workflows/macos-pixi-conda.yml
	new file:   .github/workflows/ubuntu-pixi-conda.yml
  • Loading branch information
Sajid Ali committed Jun 10, 2024
1 parent 402f123 commit 6ebf0ec
Show file tree
Hide file tree
Showing 2 changed files with 78 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/macos-pixi-conda.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@

name: CI:ubuntu-pixi-conda

on:
push:
branches: [ devel3 ]
paths-ignore:
- 'wiki/**'
pull_request:
branches: [ devel3 ]
paths-ignore:
- 'wiki/**'

jobs:
build-and-test:
runs-on: ubuntu-latest

steps:
- name: Cancel Previous runs
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}

- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: 'true'

- name: build_and_test
uses: prefix-dev/[email protected]
with:
pixi-version: v0.23.0
cache: true
auth-host: prefix.dev
auth-token: ${{ secrets.PREFIX_DEV_TOKEN }}
run: |
pixi run cmake
pixi run build
pixi run test
39 changes: 39 additions & 0 deletions .github/workflows/ubuntu-pixi-conda.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@

name: CI:ubuntu-pixi-conda

on:
push:
branches: [ devel3 ]
paths-ignore:
- 'wiki/**'
pull_request:
branches: [ devel3 ]
paths-ignore:
- 'wiki/**'

jobs:
build-and-test:
runs-on: ubuntu-latest

steps:
- name: Cancel Previous runs
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}

- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: 'true'

- name: build_and_test
uses: prefix-dev/[email protected]
with:
pixi-version: v0.23.0
cache: true
auth-host: prefix.dev
auth-token: ${{ secrets.PREFIX_DEV_TOKEN }}
run: |
pixi run cmake
pixi run build
pixi run test

0 comments on commit 6ebf0ec

Please sign in to comment.