Skip to content

Commit

Permalink
DRAFT: Try creating artefacts
Browse files Browse the repository at this point in the history
  • Loading branch information
coldav committed Jan 10, 2025
1 parent 0b692d8 commit 3ab0cf3
Show file tree
Hide file tree
Showing 3 changed files with 394 additions and 382 deletions.
12 changes: 6 additions & 6 deletions .github/actions/setup_build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,12 +120,12 @@ runs:
if: inputs.cross_arch != 'none'
run: mv llvm_install llvm_install_native

- name: load llvm
uses: actions/cache/restore@v4
with:
path: llvm_install/**
key: llvm-${{ inputs.os }}-${{ steps.set_llvm_key.outputs.key_version }}-${{ steps.set_llvm_key.outputs.key_arch }}-v${{ inputs.llvm_version }}-${{ inputs.llvm_build_type }}
fail-on-cache-miss: true
# - name: load llvm
# uses: actions/cache/restore@v4
# with:
# path: llvm_install/**
# key: llvm-${{ inputs.os }}-${{ steps.set_llvm_key.outputs.key_version }}-${{ steps.set_llvm_key.outputs.key_arch }}-v${{ inputs.llvm_version }}-${{ inputs.llvm_build_type }}
# fail-on-cache-miss: true

# note the PR testing usage should set 'save' to false, to avoid PR testing creating new caches on a branch
- name: Setup ccache
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/create_llvm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -145,3 +145,11 @@ jobs:
run: |
cp build/bin/FileCheck* llvm_install/bin
cp build/bin/not* llvm_install/bin
# - name: upload llvm artefact
# if: steps.cache.outputs.cache-hit == 'true' && ${{ matrix.os }} == 'ubuntu-22.04' && ${{ matrix.version }} == '19' && ${{ matrix.arch }} == 'x86_64' && ${{ matrix.build_type }} == 'RelAssert'
# uses: actions/upload-artifact@v4
# with:
# name: llvm-${{ matrix.os }}-${{ matrix.arch }}-v${{ matrix.version }}-${{ matrix.build_type }}
# path: llvm_install
# retention-days: 1
Loading

0 comments on commit 3ab0cf3

Please sign in to comment.