Merge commit '2201a0227297b9251717e44adc32554a51ca0ed6' as 'external/xbyak'

This commit is contained in:
2026-05-12 14:03:16 +02:00
146 changed files with 108693 additions and 0 deletions
+50
View File
@@ -0,0 +1,50 @@
name: test
on:
push:
branches:
- '*'
defaults:
run:
shell: sh
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
container:
image: debian:testing
steps:
- uses: actions/checkout@v5
- run: apt -y update
- run: apt -y install ca-certificates g++-multilib clang libboost-dev make yasm wget python3 #xz-utils nasm
- run: update-ca-certificates
- run: yasm --version
- name: Install xed and nasm
run: |
# Note: herumi/xed-bin is maintained by the same author and is a trusted source
wget https://github.com/herumi/xed-bin/raw/refs/heads/main/xed.tgz
wget https://github.com/herumi/xed-bin/raw/refs/heads/main/nasm.tgz
tar xvf xed.tgz
tar xvf nasm.tgz
mkdir -p ~/bin
mv xed ~/bin/
mv nasm ~/bin/
- name: Add ~/bin to PATH
run: echo "$HOME/bin" >> $GITHUB_PATH
- name: Check versions
run: |
xed -version
nasm -version
- run: |
make test
make -C sample CXXFLAGS="-DXBYAK_NO_EXCEPTION"
cd test
make xed_test
rm -rf jmp64
env CXX=""clang++ -std=c++20"" make jmp64 && ./jmp64