From 1b0461b36d26ded961a191a9ed33b67168c3e747 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D9=85=D8=B5=D8=B7=D9=81=D9=8A=20=D9=85=D8=AD=D9=85=D9=88?= =?UTF-8?q?=D8=AF=20=D9=83=D9=85=D8=A7=D9=84=20=D8=A7=D9=84=D8=AF=D9=8A?= =?UTF-8?q?=D9=86?= <48567303+moste00@users.noreply.github.com> Date: Fri, 23 Aug 2024 23:08:55 +0300 Subject: [PATCH] adding CI 24 --- .github/workflows/end2end-smoke-test.yml | 1 + dune-project | 4 +-- riscv_disasm_from_sail.opam | 32 ++++++++++++++++++++++++ 3 files changed, 35 insertions(+), 2 deletions(-) create mode 100644 riscv_disasm_from_sail.opam diff --git a/.github/workflows/end2end-smoke-test.yml b/.github/workflows/end2end-smoke-test.yml index e37e631..a0cc516 100644 --- a/.github/workflows/end2end-smoke-test.yml +++ b/.github/workflows/end2end-smoke-test.yml @@ -18,5 +18,6 @@ jobs: - name: Running the generator run: | source ~/.bash_profile + opam install . --deps-only rm *.gen.inc dune exec --profile release -- riscv_disasm_from_sail -f bin/sail.filepaths.txt \ No newline at end of file diff --git a/dune-project b/dune-project index 1ae26fa..6885a3c 100644 --- a/dune-project +++ b/dune-project @@ -5,11 +5,11 @@ (generate_opam_files true) (source - (github username/reponame)) + (github moste00/riscv_disasm_from_sail)) (authors "Mostafa Kamal") -(maintainers "Maintainer Name") +(maintainers "Mostafa Kamal") (license LICENSE) diff --git a/riscv_disasm_from_sail.opam b/riscv_disasm_from_sail.opam new file mode 100644 index 0000000..4783813 --- /dev/null +++ b/riscv_disasm_from_sail.opam @@ -0,0 +1,32 @@ +# This file is generated by dune, edit dune-project instead +opam-version: "2.0" +synopsis: "A short synopsis" +description: "A longer description" +maintainer: ["Mostafa Kamal"] +authors: ["Mostafa Kamal"] +license: "LICENSE" +tags: ["topics" "to describe" "your" "project"] +homepage: "https://github.com/moste00/riscv_disasm_from_sail" +doc: "https://url/to/documentation" +bug-reports: "https://github.com/moste00/riscv_disasm_from_sail/issues" +depends: [ + "ocaml" + "dune" {>= "3.15"} + "libsail" {= "0.17.1"} + "odoc" {with-doc} +] +build: [ + ["dune" "subst"] {dev} + [ + "dune" + "build" + "-p" + name + "-j" + jobs + "@install" + "@runtest" {with-test} + "@doc" {with-doc} + ] +] +dev-repo: "git+https://github.com/moste00/riscv_disasm_from_sail.git"