pull/397/head
Alex Crichton 2 years ago
parent 1d0705294f
commit e90dac7ac7

@ -6,6 +6,7 @@ on:
push: push:
branches: branches:
- main - main
- debug-a-bit
pull_request: pull_request:
workflow_dispatch: workflow_dispatch:
@ -22,6 +23,7 @@ jobs:
steps: steps:
- uses: actions/cache@v4 - uses: actions/cache@v4
with: with:
save-always: true
path: ~/.cache/ccache path: ~/.cache/ccache
# Bump the prefix number to evict all previous caches and # Bump the prefix number to evict all previous caches and
# enforce a clean build, in the unlikely case that some # enforce a clean build, in the unlikely case that some
@ -33,6 +35,7 @@ jobs:
if: matrix.os == 'ubuntu-latest' if: matrix.os == 'ubuntu-latest'
- uses: actions/cache@v4 - uses: actions/cache@v4
with: with:
save-always: true
path: ~/Library/Caches/ccache path: ~/Library/Caches/ccache
key: 0-cache-macos-latest-${{ github.run_id }} key: 0-cache-macos-latest-${{ github.run_id }}
restore-keys: | restore-keys: |
@ -91,6 +94,7 @@ jobs:
steps: steps:
- uses: actions/cache@v4 - uses: actions/cache@v4
with: with:
save-always: true
path: ~/AppData/Local/ccache path: ~/AppData/Local/ccache
key: 0-${{ format( 'cache-windows-latest-{0}', matrix.arch) }}-${{ github.run_id }} key: 0-${{ format( 'cache-windows-latest-{0}', matrix.arch) }}-${{ github.run_id }}
restore-keys: | restore-keys: |
@ -114,7 +118,7 @@ jobs:
- name: Build - name: Build
shell: msys2 {0} shell: msys2 {0}
run: | run: |
make package LLVM_CMAKE_FLAGS=-DLLVM_CCACHE_BUILD=ON NINJA_FLAGS=-v make package LLVM_CMAKE_FLAGS=-DLLVM_CCACHE_BUILD=ON
make check make check
- name: Does it work sans msys2? - name: Does it work sans msys2?
run: | run: |
@ -134,6 +138,7 @@ jobs:
steps: steps:
- uses: actions/cache@v4 - uses: actions/cache@v4
with: with:
save-always: true
path: ~/.ccache path: ~/.ccache
key: 0-cache-ubuntu-bionic-${{ github.run_id }} key: 0-cache-ubuntu-bionic-${{ github.run_id }}
restore-keys: | restore-keys: |

Loading…
Cancel
Save