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
9 changes: 1 addition & 8 deletions .github/actions/common-setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,21 +100,14 @@ runs:
path: ${{ github.workspace }}/build/llvm-project-install
key: ${{ steps.cache-llvm.outputs.cache-primary-key }}

- name: Set environment variable for CMake and sccache
- name: Set environment variable for CMake
shell: bash
run: |
if [ "${{inputs.build-llvm}}" == "true" ]; then
echo "LLVM_DIR=${{ github.workspace }}/build/llvm-project-install" >> "$GITHUB_ENV"
echo "Clang_DIR=${{ github.workspace }}/build/llvm-project-install" >> "$GITHUB_ENV"
fi

# Set CMake to use sccache if it's available
if command -v sccache; then
echo "CMAKE_CXX_COMPILER_LAUNCHER=sccache" >> "$GITHUB_ENV"
echo "CMAKE_C_COMPILER_LAUNCHER=sccache" >> "$GITHUB_ENV"
fi
echo SCCACHE_IGNORE_SERVER_IO_ERROR=1 >> "$GITHUB_ENV"

# Install swiftshader
- uses: robinraju/release-downloader@v1.11
continue-on-error: true
Expand Down
12 changes: 2 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,8 @@ name: Release
on:
workflow_dispatch:
push:
# Also run on pushes to the main branch so that we can keep the llvm and sccache
# caches filled in a scope available to everyone
branches:
- master
paths-ignore:
- "docs/**"
- "LICENSES/**"
- "LICENSE"
- "CONTRIBUTING.md"
- "README.md"
# We are not caching the builds so we don't want to run the release workflow for every push to master;
# The release workflow is only triggered by tags or manual dispatch
tags:
- "v*"
jobs:
Expand Down
Loading