v7.36 #547
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |