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
12 changes: 8 additions & 4 deletions .github/actions/setup-pixi/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,22 @@ description: "setup pixi"

inputs:
environments:
description: "The pixi environments to install (e.g. default, docs, test)"
description: "The pixi environments to install (space-separated, e.g. 'default test-run')"
required: false
default: "default"
activate-environment:
description: "Which environment to activate (set to env name, or 'true' for single-env installs)"
required: false
default: "true"

runs:
using: "composite"
steps:
- name: Setup Pixi
uses: prefix-dev/setup-pixi@v0.9.3
uses: prefix-dev/setup-pixi@v0.9.6
with:
pixi-version: v0.67.0
pixi-version: v0.71.1
environments: ${{ inputs.environments }}
activate-environment: true
activate-environment: ${{ inputs.activate-environment }}
cache: true
locked: true
4 changes: 3 additions & 1 deletion .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ jobs:
shell: bash
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v7
Comment thread
16bit-ykiko marked this conversation as resolved.
Resolved
with:
persist-credentials: false

- uses: ./.github/actions/setup-pixi

Expand Down
28 changes: 18 additions & 10 deletions .github/workflows/build-llvm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,9 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v7
with:
persist-credentials: false

- name: Free Disk Space
if: runner.os == 'Linux'
Expand Down Expand Up @@ -184,7 +186,7 @@ jobs:

- name: Upload cross-compiled clice for functional test
if: ${{ matrix.target_triple && matrix.lto == 'OFF' }}
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: cross-clice-${{ matrix.target_triple }}-${{ matrix.llvm_mode }}
path: |
Expand Down Expand Up @@ -216,7 +218,7 @@ jobs:

- name: Upload pruned-libs manifest
if: (!matrix.target_triple) && matrix.llvm_mode == 'RelWithDebInfo' && matrix.lto == 'OFF'
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: llvm-pruned-libs-${{ matrix.os }}
path: ${{ env.LLVM_PRUNED_MANIFEST }}
Expand Down Expand Up @@ -308,7 +310,7 @@ jobs:
echo "LLVM_INSTALL_ARCHIVE=${ARCHIVE}" >> "${GITHUB_ENV}"

- name: Upload LLVM install artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: ${{ env.LLVM_INSTALL_ARCHIVE }}
path: ${{ env.LLVM_INSTALL_ARCHIVE }}
Expand All @@ -332,14 +334,16 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v7
with:
persist-credentials: false

- uses: ./.github/actions/setup-pixi
with:
environments: test-run

- name: Download cross-compiled clice
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8
with:
name: cross-clice-${{ matrix.target_triple }}-${{ matrix.llvm_mode }}
path: build/${{ matrix.llvm_mode }}/
Expand All @@ -358,7 +362,9 @@ jobs:
permissions:
contents: read
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
with:
persist-credentials: false

- name: Download all build artifacts
env:
Expand All @@ -372,7 +378,7 @@ jobs:
run: python3 scripts/upload-llvm.py "${{ inputs.llvm_version }}" "${TARGET_REPO}" "${{ github.run_id }}"

- name: Save manifest for update-clice job
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: llvm-manifest-final
path: artifacts/llvm-manifest.json
Expand All @@ -387,10 +393,12 @@ jobs:
contents: write
pull-requests: write
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
with:
persist-credentials: false
Comment thread
16bit-ykiko marked this conversation as resolved.
Resolved

- name: Download manifest
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8
with:
name: llvm-manifest-final
path: .
Expand Down
162 changes: 0 additions & 162 deletions .github/workflows/build.yml

This file was deleted.

6 changes: 4 additions & 2 deletions .github/workflows/check-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v7
Comment thread
16bit-ykiko marked this conversation as resolved.
Resolved
with:
persist-credentials: false

- uses: ./.github/actions/setup-pixi
with:
Expand All @@ -25,7 +27,7 @@ jobs:
continue-on-error: true

- name: Auto correct
uses: huacnlee/autocorrect-action@v2
uses: huacnlee/autocorrect-action@v2.5.4
with:
args: --lint ./docs
continue-on-error: true
Expand Down
Loading