Skip to content
Open
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
2 changes: 2 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,5 @@ updates:
directory: "/" # Location of package manifests
schedule:
interval: "weekly"
cooldown:
default-days: 7
6 changes: 5 additions & 1 deletion .github/workflows/actionlint.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
name: Lint GitHub Actions workflows
on: [push, pull_request]

permissions: {}

jobs:
actionlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
persist-credentials: false
- name: Check workflow files
run: |
echo "::add-matcher::.github/actionlint-matcher.json"
Expand Down
72 changes: 45 additions & 27 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ on:
branches:
- 'master'

permissions: {}

concurrency:
group: build-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
Expand All @@ -18,9 +20,10 @@ jobs:
checkinstall:
runs-on: ubuntu-slim
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
fetch-depth: 2
persist-credentials: false
- name: Install APT Dependencies
run: |
sudo apt-get update && sudo apt-get install -y --no-install-recommends ninja-build
Expand All @@ -33,9 +36,10 @@ jobs:
formatting:
runs-on: ubuntu-slim
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
fetch-depth: 2
persist-credentials: false
- name: Install pcre2grep
run: sudo apt-get update && sudo apt-get install -y --no-install-recommends pcre2-utils
# Check for trailing whitespace
Expand Down Expand Up @@ -126,9 +130,10 @@ jobs:
CXXFLAGS: -Wall -Wextra -Werror ${{ matrix.isax }}
INTEL_TARGET: ${{ matrix.target }}
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
submodules: recursive
persist-credentials: false
- name: CPU Information
run: cat /proc/cpuinfo
- name: Install APT Dependencies
Expand All @@ -143,7 +148,7 @@ jobs:
sudo ln -s /usr/bin/g++-15 /usr/bin/g++
pipx install meson==1.3.2
- name: ccache
uses: hendrikmuhs/ccache-action@v1.2
uses: hendrikmuhs/ccache-action@5ebbd400eff9e74630f759d94ddd7b6c26299639 # v1.2
with:
key: ${{ github.job }}-${{ matrix.isax }}
verbose: 2
Expand Down Expand Up @@ -171,9 +176,10 @@ jobs:
CFLAGS: -Wall -Wextra -Werror -march=bdver2
CXXFLAGS: -Wall -Wextra -Werror -march=bdver2
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
submodules: recursive
persist-credentials: false
- name: CPU Information
run: cat /proc/cpuinfo
- name: Install APT Dependencies
Expand All @@ -188,7 +194,7 @@ jobs:
sudo ln -s /usr/bin/g++-15 /usr/bin/g++
pipx install meson==1.3.2
- name: ccache
uses: hendrikmuhs/ccache-action@v1.2
uses: hendrikmuhs/ccache-action@5ebbd400eff9e74630f759d94ddd7b6c26299639 # v1.2
with:
key: ${{ github.job }}
verbose: 2
Expand All @@ -213,16 +219,17 @@ jobs:
- "32-relaxed"
- "64-relaxed"
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
submodules: recursive
persist-credentials: false
- name: Install APT Dependencies
run: |
sudo add-apt-repository ppa:stephanosio/ccache
sudo apt-get install -y --no-install-recommends ninja-build pipx ccache
pipx install meson==1.3.2
- name: ccache
uses: hendrikmuhs/ccache-action@v1.2
uses: hendrikmuhs/ccache-action@5ebbd400eff9e74630f759d94ddd7b6c26299639 # v1.2
with:
key: ${{ github.job }}
verbose: 2
Expand Down Expand Up @@ -254,9 +261,10 @@ jobs:
CFLAGS: -DSIMDE_ENABLE_NATIVE_ALIASES -DSIMDE_NATIVE_ALIASES_TESTING -Wall -Wextra -Werror -pedantic
CXXFLAGS: -DSIMDE_ENABLE_NATIVE_ALIASES -DSIMDE_NATIVE_ALIASES_TESTING -Wall -Wextra -Werror -pedantic
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
submodules: recursive
persist-credentials: false
- id: cpu
name: CPU Information
run: cat /proc/cpuinfo
Expand All @@ -272,7 +280,7 @@ jobs:
sudo ln -s /usr/bin/g++-15 /usr/bin/g++
pipx install meson==1.3.2
- name: ccache
uses: hendrikmuhs/ccache-action@v1.2
uses: hendrikmuhs/ccache-action@5ebbd400eff9e74630f759d94ddd7b6c26299639 # v1.2
with:
key: ${{ github.job }}
verbose: 2
Expand All @@ -294,9 +302,10 @@ jobs:
CFLAGS: -march=native -Wall -Wextra -Werror
CXXFLAGS: -march=native -Wall -Wextra -Werror
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
submodules: recursive
persist-credentials: false
- id: cpu
name: CPU Information
run: |
Expand All @@ -313,7 +322,7 @@ jobs:
sudo ln -s /usr/bin/g++-15 /usr/bin/g++
pipx install meson==1.3.2
- name: ccache
uses: hendrikmuhs/ccache-action@v1.2
uses: hendrikmuhs/ccache-action@5ebbd400eff9e74630f759d94ddd7b6c26299639 # v1.2
with:
key: ${{ github.job }}
verbose: 2
Expand Down Expand Up @@ -415,9 +424,10 @@ jobs:
format('{0}-g++-{1}', matrix.gcc, matrix.version)
) }}
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
submodules: recursive
persist-credentials: false
- id: cpu
name: CPU Information
run: |
Expand All @@ -440,7 +450,7 @@ jobs:
- if: ${{ matrix.version == '15' }}
run: sudo apt-get satisfy -y 'binutils (>= 2.45)'
- name: ccache
uses: hendrikmuhs/ccache-action@v1.2
uses: hendrikmuhs/ccache-action@5ebbd400eff9e74630f759d94ddd7b6c26299639 # v1.2
with:
key: ${{ github.job }}-${{ matrix.version }}-${{ matrix.distro }}-${{ matrix.arch_flags }}
verbose: 2
Expand Down Expand Up @@ -503,9 +513,10 @@ jobs:
# distro: ubuntu-24.04
runs-on: ${{ matrix.distro }}
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
submodules: recursive
persist-credentials: false
- name: CPU Information
run: cat /proc/cpuinfo
- if: ${{ matrix.distro == 'ubuntu-24.04' && ( matrix.version == '15' )}}
Expand All @@ -521,7 +532,7 @@ jobs:
qemu-user-static pipx libc6-${{ matrix.arch_deb }}-cross libstdc++-${{ matrix.version }}-dev-${{ matrix.arch_deb }}-cross
pipx install meson==1.3.2
- name: ccache
uses: hendrikmuhs/ccache-action@v1.2
uses: hendrikmuhs/ccache-action@5ebbd400eff9e74630f759d94ddd7b6c26299639 # v1.2
with:
key: ${{ github.job }}-${{ matrix.version}}${{ matrix.extra }}-${{ matrix.distro }}-${{ matrix.cross }}
verbose: 2
Expand Down Expand Up @@ -559,9 +570,10 @@ jobs:
distro: ubuntu-24.04
runs-on: ${{ matrix.distro }}
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
submodules: recursive
persist-credentials: false
- name: CPU Information
run: cat /proc/cpuinfo
- name: Install APT Dependencies
Expand All @@ -575,7 +587,7 @@ jobs:
libstdc++-12-dev-${{ matrix.arch_deb }}-cross \
binutils-${{ matrix.arch_gnu }}-linux-gnu
- name: ccache
uses: hendrikmuhs/ccache-action@v1.2
uses: hendrikmuhs/ccache-action@5ebbd400eff9e74630f759d94ddd7b6c26299639 # v1.2
with:
key: ${{ github.job }}-${{ matrix.distro }}-${{ matrix.cross }}
verbose: 2
Expand Down Expand Up @@ -615,9 +627,10 @@ jobs:
distro: ubuntu-24.04
runs-on: ${{ matrix.distro }}
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
submodules: recursive
persist-credentials: false
- name: CPU Information
run: cat /proc/cpuinfo
- name: Install APT Dependencies
Expand All @@ -629,7 +642,7 @@ jobs:
libstdc++-12-dev-${{ matrix.arch_deb }}-cross \
binutils-${{ matrix.arch_gnu }}-linux-gnu ccache
- name: ccache
uses: hendrikmuhs/ccache-action@v1.2
uses: hendrikmuhs/ccache-action@5ebbd400eff9e74630f759d94ddd7b6c26299639 # v1.2
with:
key: ${{ github.job }}-${{ matrix.distro }}-${{ matrix.cross }}
verbose: 2
Expand Down Expand Up @@ -686,9 +699,10 @@ jobs:
distro: ubuntu-24.04
runs-on: ${{ matrix.distro }}
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
submodules: recursive
persist-credentials: false
- name: CPU Information
run: cat /proc/cpuinfo
- name: Install APT Dependencies
Expand All @@ -703,7 +717,7 @@ jobs:
binutils-${{ matrix.arch_gnu }}-linux-gnu${{ matrix.arch_gnu_abi }}
pipx install meson
- name: ccache
uses: hendrikmuhs/ccache-action@v1.2
uses: hendrikmuhs/ccache-action@5ebbd400eff9e74630f759d94ddd7b6c26299639 # v1.2
with:
key: ${{ github.job }}-${{ matrix.version }}-${{ matrix.cross }}
verbose: 2
Expand Down Expand Up @@ -901,9 +915,10 @@ jobs:
matrix.plain == true, '-Wall -Weverything -Werror',
'-march=native -Wall -Weverything -Werror') }} -fno-lax-vector-conversions
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
submodules: recursive
persist-credentials: false
- id: cpu
name: CPU Information
run: |
Expand Down Expand Up @@ -937,7 +952,7 @@ jobs:
sudo ln -s "$(command -v clang-${{ matrix.version }})" /usr/bin/cc
sudo ln -s "$(command -v clang-${{ matrix.version }})" /usr/bin/c++
- name: ccache
uses: hendrikmuhs/ccache-action@v1.2
uses: hendrikmuhs/ccache-action@5ebbd400eff9e74630f759d94ddd7b6c26299639 # v1.2
with:
key: ${{ github.job }}-${{ matrix.version }}-${{ matrix.distro }}-${{ matrix.arch_flags }}${{ matrix.plain }}
verbose: 2
Expand Down Expand Up @@ -992,15 +1007,16 @@ jobs:
CFLAGS: ${{ matrix.arch_flags }} -Wall -Weverything -Werror -Wno-complex-component-init
CXXFLAGS: ${{ matrix.arch_flags }} -Wall -Weverything -Werror -Wno-complex-component-init
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
submodules: recursive
persist-credentials: false
# - name: System Information
# run: system_profiler
- name: Compiler version
run: cc --version
- name: ccache
uses: hendrikmuhs/ccache-action@v1.2
uses: hendrikmuhs/ccache-action@5ebbd400eff9e74630f759d94ddd7b6c26299639 # v1.2
with:
key: ${{ github.job }}-${{ matrix.os }}-${{ matrix.xcode }}
verbose: 2
Expand All @@ -1027,7 +1043,9 @@ jobs:
CFLAGS: -Wall -Werror -march=native -fp-model precise
CXXFLAGS: -Wall -Werror -march=native -fp-model precise
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
persist-credentials: false
- name: CPU Information
run: cat /proc/cpuinfo
- name: Install APT Dependencies
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ on:
branches:
- 'master'

permissions: {}

concurrency:
group: cmake-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
Expand All @@ -24,9 +26,11 @@ jobs:
os: [macos-latest, ubuntu-latest, ubuntu-24.04-arm, windows-latest, windows-11-arm]

steps:
- uses: actions/checkout@v6
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
persist-credentials: false

- uses: ilammy/msvc-dev-cmd@v1
- uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1

- name: Configure SIMDe
run: cmake -G Ninja -S . -B build
Expand Down
11 changes: 8 additions & 3 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ jobs:
name: Analyze
runs-on: ubuntu-latest

permissions:
security-events: write

strategy:
fail-fast: false
matrix:
Expand All @@ -25,11 +28,13 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v6
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
persist-credentials: false

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v4
uses: github/codeql-action/init@95e58e9a2cdfd71adc6e0353d5c52f41a045d225 # v4
with:
languages: ${{ matrix.language }}
trap-caching: false
Expand All @@ -40,4 +45,4 @@ jobs:
"$HOME/.local/bin/meson" setup build

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v4
uses: github/codeql-action/analyze@95e58e9a2cdfd71adc6e0353d5c52f41a045d225 # v4
Loading
Loading