add smoketests to nix builds

This commit is contained in:
Bruno Produit
2026-03-17 16:29:42 +01:00
committed by Kyle Elliott
parent 8fe074f483
commit 6931fd44c0
+6
View File
@@ -116,6 +116,12 @@ jobs:
- name: Build remill (LLVM ${{ matrix.llvm }})
run: nix build .#remill-llvm${{ matrix.llvm }}
- name: Smoketests with installed executable
run: |
./result/bin/remill-lift-${{ matrix.llvm }} --arch amd64 --ir_out /dev/stdout --bytes c704ba01000000
./result/bin/remill-lift-${{ matrix.llvm }} --arch aarch64 --ir_out /dev/stdout --address 0x400544 --bytes FD7BBFA90000009000601891FD030091B7FFFF97E0031F2AFD7BC1A8C0035FD6
./result/bin/remill-lift-${{ matrix.llvm }} --arch aarch32 -ir_out /dev/stderr --bytes 0cd04de208008de504108de500208de508309de504009de500109de5903122e0c20fa0e110109fe5001091e5002081e5040081e50cd08de21eff2fe14000000000000000
macos:
# Skip building pull requests from the same repository
if: ${{ github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository) }}