This commit is contained in:
parent
aa2ff7b2f0
commit
2f3113f55d
11742 changed files with 1223940 additions and 0 deletions
6
unikernel/duniverse/ocaml-re/.github/dependabot.yml
vendored
Normal file
6
unikernel/duniverse/ocaml-re/.github/dependabot.yml
vendored
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
version: 2
|
||||
updates:
|
||||
- package-ecosystem: github-actions
|
||||
directory: /
|
||||
schedule:
|
||||
interval: weekly
|
||||
54
unikernel/duniverse/ocaml-re/.github/workflows/gh-pages.yml
vendored
Normal file
54
unikernel/duniverse/ocaml-re/.github/workflows/gh-pages.yml
vendored
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
name: Deploy odoc to GitHub Pages
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
|
||||
permissions: read-all
|
||||
|
||||
concurrency:
|
||||
group: deploy-odoc
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
deploy-odoc:
|
||||
name: Deploy odoc to GitHub Pages
|
||||
|
||||
environment:
|
||||
name: github-pages
|
||||
url: ${{ steps.deployment.outputs.page_url }}
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
id-token: write
|
||||
pages: write
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout tree
|
||||
uses: actions/checkout@v5
|
||||
|
||||
- name: Set-up OCaml
|
||||
uses: ocaml/setup-ocaml@v3
|
||||
with:
|
||||
ocaml-compiler: "5.2"
|
||||
|
||||
- name: Install dependencies
|
||||
run: opam install . --deps-only --with-doc
|
||||
|
||||
- name: Build documentation
|
||||
run: opam exec -- dune build @doc
|
||||
|
||||
- name: Set-up Pages
|
||||
uses: actions/configure-pages@v5
|
||||
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-pages-artifact@v4
|
||||
with:
|
||||
path: _build/default/_doc/_html
|
||||
|
||||
- name: Deploy odoc to GitHub Pages
|
||||
id: deployment
|
||||
uses: actions/deploy-pages@v4
|
||||
32
unikernel/duniverse/ocaml-re/.github/workflows/main.yml
vendored
Normal file
32
unikernel/duniverse/ocaml-re/.github/workflows/main.yml
vendored
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
name: build
|
||||
on:
|
||||
- push
|
||||
- pull_request
|
||||
jobs:
|
||||
run:
|
||||
name: Build
|
||||
strategy:
|
||||
matrix:
|
||||
os:
|
||||
- macos-latest
|
||||
- ubuntu-latest
|
||||
# - windows-latest
|
||||
ocaml-compiler:
|
||||
- "4.14"
|
||||
- "5.2"
|
||||
include:
|
||||
- os: ubuntu-24.04-arm
|
||||
ocaml-compiler: "ocaml-variants.5.2.1+options,ocaml-option-tsan"
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- run: |
|
||||
sudo apt update
|
||||
sudo apt install libunwind-dev
|
||||
if: ${{ matrix.os == 'ubuntu-24.04-arm' }}
|
||||
- uses: ocaml/setup-ocaml@v3
|
||||
with:
|
||||
ocaml-compiler: ${{ matrix.ocaml-compiler }}
|
||||
- run: opam install . --deps-only --with-test
|
||||
- run: opam exec -- dune build
|
||||
- run: opam exec -- dune runtest
|
||||
16
unikernel/duniverse/ocaml-re/.github/workflows/nix.yml
vendored
Normal file
16
unikernel/duniverse/ocaml-re/.github/workflows/nix.yml
vendored
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
name: Nix
|
||||
on:
|
||||
- push
|
||||
- pull_request
|
||||
|
||||
jobs:
|
||||
tests:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
with:
|
||||
submodules: true
|
||||
- uses: cachix/install-nix-action@v31
|
||||
with:
|
||||
nix_path: nixpkgs=channel:nixos-unstable
|
||||
- run: nix develop .#test -c dune runtest
|
||||
Loading…
Add table
Add a link
Reference in a new issue