Skip to content

Installing refs/heads/adds-packed-bitwise-sse-operations from opam #78

Installing refs/heads/adds-packed-bitwise-sse-operations from opam

Installing refs/heads/adds-packed-bitwise-sse-operations from opam #78

Workflow file for this run

name: opam
run-name: Installing ${{ github.ref }} from opam
on:
- push
jobs:
build:
strategy:
matrix:
ocaml-compiler:
- 4.14.x
- 4.08.x
runs-on: ubuntu-latest
env:
OPAMJOBS: 2
OPAMRETRES: 8
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Dejagnu
run: |
sudo apt-get update -y
sudo apt-get install dejagnu -y
- name: Cache Ghidra
id: cache-ghidra
uses: actions/cache@v4
with:
path: /usr/share/ghidra
key: ${{ runner.os }}-ghidra
- name: Build and Install Ghidra
if: steps.cache-ghidras.outputs.cache-hit != 'true'
run: sudo sh ./tools/install-ghidra.sh
- name: Install OCaml ${{ matrix.ocaml-compiler }}
uses: ocaml/setup-ocaml@v3
with:
ocaml-compiler: ${{ matrix.ocaml-compiler }}
dune-cache: true
opam-disable-sandboxing: true
opam-repositories: |
default: git+https://github.com/ocaml/opam-repository.git
bap: git+https://github.com/BinaryAnalysisPlatform/opam-repository#testing
- name: Install bap-extra
run: opam install bap-extra
- name: Run functional tests
run: opam exec -- make check
- uses: actions/upload-artifact@v4
if: ${{ always() }}
with:
name: opam-log-${{ matrix.ocaml-compiler }}
path: ~/.opam/log