Squashed 'external/xbyak/' content from commit 431abd86
git-subtree-dir: external/xbyak git-subtree-split: 431abd865e70a46d56f5aa0e1f87572decb60169
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user