Skip to content
Merged
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
11 changes: 6 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
MOZJS_CREATE_ARCHIVE: 1
NEW_RUST_CHECK: ${{ inputs.rust_version == 'stable' || inputs.rust_version == 'beta' }}
# Increase this version to purge sccache cache on GitHub Actions
SCCACHE_GHA_VERSION: 2

jobs:
mac:
Expand Down Expand Up @@ -84,11 +86,10 @@ jobs:
with:
toolchain: ${{ inputs.rust_version }}
components: "rustfmt"
- name: Install LLVM and Clang
uses: KyleMayes/install-llvm-action@v2
with:
directory: ${{ runner.temp }}/llvm
version: "16.0"
- run: sudo apt update && sudo apt install -y llvm
# needed to work around bindgen bug. The version here should match the default clang version on ubuntu-22.04
- name: Set LIBCLANG_PATH env
run: echo "LIBCLANG_PATH=/usr/lib/llvm-14/lib" >> $GITHUB_ENV
- name: Run sccache-cache
uses: mozilla-actions/[email protected]
- name: Build
Expand Down
Loading