Skip to content

Commit

Permalink
Add pixi-conda CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Sajid Ali committed Jun 10, 2024
1 parent 9c35aa9 commit 3dff413
Show file tree
Hide file tree
Showing 2 changed files with 78 additions and 20 deletions.
49 changes: 39 additions & 10 deletions .github/workflows/macos-pixi-conda.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,39 @@
- uses: prefix-dev/[email protected]
with:
pixi-version: v0.23.0
cache: true
auth-host: prefix.dev
auth-token: ${{ secrets.PREFIX_DEV_TOKEN }}

- cmake: pixi run cmake
- build: pixi run build
- test: pixi run test

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
49 changes: 39 additions & 10 deletions .github/workflows/ubuntu-pixi-conda.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,39 @@
- uses: prefix-dev/[email protected]
with:
pixi-version: v0.23.0
cache: true
auth-host: prefix.dev
auth-token: ${{ secrets.PREFIX_DEV_TOKEN }}

- cmake: pixi run cmake
- build: pixi run build
- test: pixi run test

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 3dff413

Please sign in to comment.