Merge branch 'main' into lj/ci-benchmarks

This commit is contained in:
LJ
2025-12-02 08:13:11 +01:00
committed by GitHub
93 changed files with 14027 additions and 53 deletions
+39
View File
@@ -0,0 +1,39 @@
name: Check docs up-to-date
on:
push:
branches: ["main"]
paths:
- 'book/**'
- 'docs/**'
- '.gitignore'
- 'Makefile'
- '.github/workflows/book.yml'
pull_request:
branches: ["main"]
types: [opened, synchronize]
paths:
- 'book/**'
- 'docs/**'
- '.gitignore'
- 'Makefile'
- '.github/workflows/book.yml'
jobs:
check-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with: { fetch-depth: 0 }
- name: Install mdBook
run: make test-book
- name: Build book to tmp
run: mdbook build book -d docs-tmp
- name: Compare with committed docs
run: |
if ! diff -r docs-tmp docs 2>/dev/null; then
echo "docs/ is not up-to-date. Run make test-book and commit the docs/ directory"
exit 1
fi
+5 -2
View File
@@ -54,11 +54,13 @@ jobs:
- target: aarch64-apple-darwin
builder-arg: gnu
host: macos
runner: macos-14
runner: macos-15
- target: x86_64-apple-darwin
builder-arg: gnu
host: macos
runner: macos-13
# `macos-15-intel` will be the last x86_64 `macos` image supported by GHA.
# It will be available until Aug. 2027 (see https://github.com/actions/runner-images/issues/13045).
runner: macos-15-intel
- target: x86_64-pc-windows-msvc
builder-arg: gnu
host: windows
@@ -104,6 +106,7 @@ jobs:
- name: Build LLVM
if: ${{ matrix.target == 'wasm32-unknown-emscripten' }}
run: |
revive-llvm emsdk
source emsdk/emsdk_env.sh
revive-llvm --target-env ${{ matrix.builder-arg }} build --llvm-projects lld
+1 -1
View File
@@ -59,7 +59,7 @@ jobs:
outputs:
resolc-universal-apple-darwin_url: ${{ steps.set-output.outputs.resolc-universal-apple-darwin_url }}
resolc-universal-apple-darwin_sha: ${{ steps.set-output.outputs.resolc-universal-apple-darwin_sha }}
runs-on: macos-14
runs-on: macos-15
steps:
- uses: actions/download-artifact@v4
with:
+2 -2
View File
@@ -69,7 +69,7 @@ jobs:
create-release:
if: startsWith(github.ref_name, 'v')
needs: [check-version-changed, build]
runs-on: macos-14
runs-on: macos-15
environment: tags
steps:
- name: Download Artifacts
@@ -126,7 +126,7 @@ jobs:
npm-release:
needs: [create-release]
runs-on: macos-14
runs-on: macos-15
environment: tags
steps:
- uses: actions/checkout@v4
+4 -2
View File
@@ -66,10 +66,12 @@ jobs:
runner: ubuntu-24.04
- target: aarch64-apple-darwin
type: native
runner: macos-14
runner: macos-15
- target: x86_64-apple-darwin
type: native
runner: macos-13
# `macos-15-intel` will be the last x86_64 `macos` image supported by GHA.
# It will be available until Aug. 2027 (see https://github.com/actions/runner-images/issues/13045).
runner: macos-15-intel
- target: x86_64-pc-windows-msvc
type: native
runner: windows-2022
+2 -2
View File
@@ -18,7 +18,7 @@ jobs:
test:
strategy:
matrix:
runner: [parity-large, macos-14, windows-2022]
runner: [parity-large, macos-15, windows-2022]
runs-on: ${{ matrix.runner }}
steps:
- uses: actions/checkout@v4
@@ -36,7 +36,7 @@ jobs:
sudo apt update && sudo apt-get install -y cmake ninja-build curl git libssl-dev pkg-config clang lld musl
- name: Install Dependencies
if: matrix.runner == 'macos-14'
if: matrix.runner == 'macos-15'
run: |
brew install ninja
+1 -1
View File
@@ -68,7 +68,7 @@ jobs:
needs: build
strategy:
matrix:
os: ["ubuntu-24.04", "macos-14", "windows-2022"]
os: ["ubuntu-24.04", "macos-15", "windows-2022"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4