Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
74 changes: 74 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
name: CI

on:
pull_request:

jobs:
linux-64:
runs-on: ubuntu-latest
strategy:
fail-fast: false

steps:
- name: Checkout pull request branch
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup pixi
uses: prefix-dev/setup-pixi@v0.8.3
with:
run-install: false

- name: Run setup script
shell: pixi exec --spec sed -- bash -e {0}
run: |
sed -i "s?main?${{ github.event.pull_request.head.ref }}?g" pixi-setup.sh
sed -i "s?init.sh | bash?init.sh | sed 's,main,${{ github.event.pull_request.head.ref }},g' | bash?" pixi-setup.sh
./pixi-setup.sh

osx-64:
runs-on: macos-13
strategy:
fail-fast: false

steps:
- name: Checkout pull request branch
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup pixi
uses: prefix-dev/setup-pixi@v0.8.3
with:
run-install: false

- name: Run setup script
shell: pixi exec --spec sed -- zsh -e {0}
run: |
sed -i "s?main?${{ github.event.pull_request.head.ref }}?g" pixi-setup.sh
sed -i "s?init.sh | bash?init.sh | sed 's,main,${{ github.event.pull_request.head.ref }},g' | bash?" pixi-setup.sh
./pixi-setup.sh

osx-arm64:
runs-on: macos-14
strategy:
fail-fast: false

steps:
- name: Checkout pull request branch
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup pixi
uses: prefix-dev/setup-pixi@v0.8.3
with:
run-install: false

- name: Run setup script
shell: pixi exec --spec sed -- zsh -e {0}
run: |
sed -i "s?main?${{ github.event.pull_request.head.ref }}?g" pixi-setup.sh
sed -i "s?init.sh | bash?init.sh | sed 's,main,${{ github.event.pull_request.head.ref }},g' | bash?" pixi-setup.sh
./pixi-setup.sh
74 changes: 74 additions & 0 deletions .github/workflows/dispatch_ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
name: Dispatch CI

on:
workflow_dispatch:

jobs:
linux-64_pixi:
runs-on: ubuntu-latest
strategy:
fail-fast: false

steps:
- name: Checkout pull request branch
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup pixi
uses: prefix-dev/setup-pixi@v0.8.3
with:
run-install: false

- name: Run setup script
shell: pixi exec --spec sed -- bash -e {0}
run: |
sed -i "s?main?${{ github.event.pull_request.head.ref }}?g" pixi-setup.sh
sed -i "s?init.sh | bash?init.sh | sed 's,main,${{ github.event.pull_request.head.ref }},g' | bash?" pixi-setup.sh
./pixi-setup.sh

osx-64_pixi:
runs-on: macos-latest
strategy:
fail-fast: false

steps:
- name: Checkout pull request branch
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup pixi
uses: prefix-dev/setup-pixi@v0.8.3
with:
run-install: false

- name: Run setup script
shell: pixi exec --spec sed -- bash -e {0}
run: |
sed -i "s?main?${{ github.event.pull_request.head.ref }}?g" pixi-setup.sh
sed -i "s?init.sh | bash?init.sh | sed 's,main,${{ github.event.pull_request.head.ref }},g' | bash?" pixi-setup.sh
./pixi-setup.sh

osx-arm64_pixi:
runs-on: macos-14
strategy:
fail-fast: false

steps:
- name: Checkout pull request branch
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup pixi
uses: prefix-dev/setup-pixi@v0.8.3
with:
run-install: false

- name: Run setup script
shell: pixi exec --spec sed -- bash -e {0}
run: |
sed -i "s?main?${{ github.event.pull_request.head.ref }}?g" pixi-setup.sh
sed -i "s?init.sh | bash?init.sh | sed 's,main,${{ github.event.pull_request.head.ref }},g' | bash?" pixi-setup.sh
./pixi-setup.sh
Loading