Skip to content

Commit

Permalink
Cookbook shell\n\nRecreate PR #2382
Browse files Browse the repository at this point in the history
  • Loading branch information
Cuihtlauac ALVARADO committed May 6, 2024
1 parent 262dada commit d0e23cf
Show file tree
Hide file tree
Showing 22 changed files with 600 additions and 57 deletions.
47 changes: 47 additions & 0 deletions .github/workflows/debug-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: Debug CI

on:
workflow_dispatch:

jobs:
build:
name: Dev and Debug Workflows

runs-on: ${{ matrix.os }}

strategy:
fail-fast: false
matrix:
os:
- macos-latest
- ubuntu-latest
ocaml-compiler:
- ocaml-base-compiler.4.14.1

steps:
- name: Checkout Repo
uses: actions/checkout@v3

- name: Use OCaml ${{ matrix.ocaml-compiler }}
uses: ocaml/setup-ocaml@v2
with:
ocaml-compiler: ${{ matrix.ocaml-compiler }}
dune-cache: ${{ matrix.os != 'macos-latest' }}
opam-repositories: |
pin: git+https://github.com/ocaml/opam-repository#8cc107f96e33a4601f7c39346eb19fbbe46486d3
opam-disable-sandboxing: true

- name: Install system dependencies (Linux)
run: sudo apt update && sudo apt-get install libev-dev libonig-dev libcurl4-openssl-dev
if: runner.os == 'Linux'

- name: Install system dependencies (macOS)
run: brew install libev openssl@3.3 # Openssl is a workaround for https://github.com/ocaml/opam-repository/issues/19676
if: runner.os == 'macOS'

- name: Install opam dependencies
run: opam install --deps-only .

- name: Build project
run: opam exec -- dune build

29 changes: 0 additions & 29 deletions .github/workflows/dummy.yml

This file was deleted.

19 changes: 19 additions & 0 deletions data/changelog/dune/2024-04-14-dune.3.15.1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
title: Dune 3.15.1
tags: [dune, platform]
changelog: |
### Fixed
- Fix overflow in `sendfile` stubs (copy of large files could fail or end with
truncated files) (#10333, @tonyfettes)
- Fix crash when a rule with a directory target is disabled with `enabled_if`
(#10382, fixes #10310, @gridbugs)
- Melange: remove all restrictions around virtual libraries in Melange. They
may be used as otherwise in libraries and executables. (#10412, @anmonteiro)
- Spawn: fix compatibility with RHEL7 (#10428, @emillon)
---

We just released version 3.15.1 with some bug fixes.
16 changes: 16 additions & 0 deletions data/changelog/dune/2024-04-23-dune.3.15.2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
title: Dune 3.15.2
tags: [dune, platform]
changelog: |
### Fixed
- If no directory targets are defined, then do not evaluate `enabled_if`
(#10442, @rgrinberg)
- Fix a bug where Coq projects were being rebuilt from scratch each time the
dependency graph changed. (#10446, fixes #10149, @alizter)
---

We just released version 3.15.2 with some bug fixes.

This one is particularly important for Coq users since it fixes a bug introduced in 3.13.0 that made incremental builds very slow.
54 changes: 54 additions & 0 deletions data/changelog/ocaml/2024-05-02-ocaml-5.2.0.rc1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
---
title: OCaml 5.2.0 - First Release Candidate
description: First Release Candidate of OCaml 5.2.0
tags: [ocaml]
changelog: |
## Changes since the second beta
- [#13130](https://github.com/ocaml/ocaml/issues/13130): Minor fixes to `pprintast` for raw identifiers and local module open
syntax for types.
(Chet Murthy, review by Gabriel Scherer)
- [#13100](https://github.com/ocaml/ocaml/issues/13100) Fix detection of `zstd` when compiling with `musl-gcc`
(David Allsopp, review by Samuel Hym)
---


The release of OCaml 5.2.0 is imminent.
As a final step, we are publishing a release candidate to check that everything is in order before the release in the upcoming week(s).

If you find any bugs, please report them on [OCaml's issue tracker](https://github.com/ocaml/ocaml/issues).

Compared to the second beta, this release contains one small compiler-libs printer fix and one configuration tweak.

The full change log for OCaml 5.2.0 is available [on
GitHub](https://github.com/ocaml/ocaml/blob/5.2/Changes). A short summary of the
changes since the second beta release is also available below.

---
## Installation Instructions

The base compiler can be installed as an opam switch with the following commands on opam 2.1 and later:
```bash
opam update
opam switch create 5.2.0~rc1
```

The source code for the release candidate is also directly available on:

* [GitHub](https://github.com/ocaml/ocaml/archive/5.2.0-rc1.tar.gz)
* [OCaml archives at Inria](https://caml.inria.fr/pub/distrib/ocaml-5.2/ocaml-5.2.0~rc1.tar.gz)

### Fine-Tuned Compiler Configuration

If you want to tweak the configuration of the compiler, you can switch to the option variant with:
```bash
opam update
opam switch create <switch_name> ocaml-variants.5.2.0~rc1+options <option_list>
```
where `<option_list>` is a space-separated list of `ocaml-option-*` packages. For instance, for a `flambda` and `no-flat-float-array` switch:
```bash
opam switch create 5.2.0~rc1+flambda+nffa ocaml-variants.5.2.0~rc1+options ocaml-option-flambda ocaml-option-no-flat-float-array
```

All available options can be listed with `opam search ocaml-option`.
1 change: 1 addition & 0 deletions data/events/2024-02-09-oups.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: "OCaml Users in Paris (OUPS)"
event_type: meetup
textual_location: Paris, France
location:
lat: 48.8566
Expand Down
1 change: 1 addition & 0 deletions data/events/2024-03-08-s-repls.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: "S-REPLS 14"
event_type: seminar
textual_location: "London, United Kingdom"
url: https://www.cl.cam.ac.uk/events/s-repls14/
recurring_event_slug: s-repls-programming-languages-seminar
Expand Down
1 change: 1 addition & 0 deletions data/events/2024-03-10-ocaml-retreat-auroville.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: "OCaml Retreat"
event_type: retreat
textual_location: "Auroville, India"
url: https://ocamlretreat.org/
recurring_event_slug: ocaml-retreat
Expand Down
1 change: 1 addition & 0 deletions data/events/2024-04-04-ocaml-manila.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: "OCaml Manila: Inaugural Hackathon Night"
event_type: meetup
textual_location: Manila, Philippines
url: https://www.meetup.com/ocaml-manila/events/299786391/
recurring_event_slug: ocaml-manila-meetup
Expand Down
1 change: 1 addition & 0 deletions data/events/2024-04-22-mirageos-retreat.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: "MirageOS hack retreat"
event_type: retreat
textual_location: "Marrakesh, Morocco"
location:
lat: 31.628674
Expand Down
1 change: 1 addition & 0 deletions data/events/2024-04-25-oups.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: "OCaml Users in Paris (OUPS)"
event_type: meetup
textual_location: Paris, France
location:
lat: 48.8566
Expand Down
1 change: 1 addition & 0 deletions data/events/2024-09-07-ocaml-workshop.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: "OCaml Users and Developers Workshop 2024"
event_type: conference
textual_location: "Milan, Italy"
url: https://icfp24.sigplan.org/home/ocaml-2024#Call-for-Papers
starts:
Expand Down
11 changes: 10 additions & 1 deletion data/events/recurring.yml
Original file line number Diff line number Diff line change
@@ -1,52 +1,61 @@
recurring:
- title: "OCaml Users in Paris (OUPS)"
slug: "ocaml-users-paris-oups"
event_type: meetup
textual_location: Paris, France
location:
lat: 48.8566
long: 2.3522
url: https://www.meetup.com/ocaml-paris/
- title: "NYC OCaml Meetup"
slug: "nyc-ocaml-meetup"
event_type: meetup
textual_location: New York City, New York, USA
location:
lat: 40.7128
long: 74.0060
url: https://www.meetup.com/NYC-OCaml
- title: "Silicon Valley OCaml Meetup"
slug: "silicon-valley-ocaml-meetup"
event_type: meetup
textual_location: San Francisco, California, USA
location:
lat: 37.7749
long: 122.4194
url: https://www.meetup.com/sv-ocaml/
- title: "Cambridge NonDysFunctional Programmers"
slug: "cambridge-nondysfunctional-programmers"
event_type: meetup
textual_location: Cambridge, United Kingdom
location:
lat: 52.2053
long: 0.1218
url: https://www.meetup.com/Cambridge-NonDysFunctional-Programmers/
- title: "MirageOS hack retreat"
slug: "mirageos-hack-retreat"
event_type: retreat
textual_location: "Marrakesh, Morocco"
location:
lat: 31.628674
long: -7.992047
url: https://retreat.mirage.io/
- title: "South of England Regional Programming Language Seminar"
slug: "s-repls-programming-languages-seminar"
event_type: seminar
textual_location: "London, United Kingdom"
url: https://srepls.github.io/
- title: "OCaml Retreat"
slug: "ocaml-retreat"
event_type: retreat
textual_location: "Auroville, India"
url: https://ocamlretreat.org/
- title: "OCaml Manila Meetup"
slug: "ocaml-manila-meetup"
event_type: meetup
textual_location: "Manila, Philippines"
url: https://www.meetup.com/ocaml-manila/
- title: "ReasonSTHLM Meetup"
slug: "reason-stockholm-meetup"
event_type: meetup
textual_location: "Stockholm, Sweden"
url: https://www.meetup.com/ReasonSTHLM/
url: https://www.meetup.com/ReasonSTHLM/
14 changes: 0 additions & 14 deletions data/jobs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,20 +137,6 @@ jobs:
publication_date: 2023-03-06
company: IRIF, Université Paris-Cité
company_logo: https://www.irif.fr/_media/irif_horizontal_noborder.svg
- title: XenServer Toolstack - Software Engineer
link: https://careers.cloud.com/jobs/software-engineer-xenserver-toolstack-cambridge-cambridgeshire-united-kingdom
locations:
- Cambridge, United-Kingdom
publication_date: 2024-01-04
company: XenServer, Cloud Software Group
company_logo: https://www.xenserver.com/content/dam/xenserver/images/xenserver-full-color-rgb.svg
- title: XenServer Toolstack - Senior Software Engineer
link: https://careers.cloud.com/jobs/senior-software-engineer-xenserver-toolstack-cambridge-cambridgeshire-united-kingdom
locations:
- Cambridge, United-Kingdom
publication_date: 2024-01-04
company: XenServer, Cloud Software Group
company_logo: https://www.xenserver.com/content/dam/xenserver/images/xenserver-full-color-rgb.svg
- title: Software Engineer
link: https://base.routine.co/jobs/positions/backend-software-engineer
locations:
Expand Down
13 changes: 13 additions & 0 deletions data/planet/cwn/ocaml-weekly-news-30-apr-2024.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
title: OCaml Weekly News, 30 Apr 2024
description:
url: https://alan.petitepomme.net/cwn/2024.04.30.html
date: 2024-04-30T12:00:00-00:00
preview_image:
featured:
authors:
- Caml Weekly News
source:
---

<ol><li><a href="https://alan.petitepomme.net/cwn/2024.04.30.html#1">OCANNL 0.3.1: a from-scratch deep learning (i.e. dense tensor optimization) framework</a></li><li><a href="https://alan.petitepomme.net/cwn/2024.04.30.html#2">I roughly translated Real World OCaml's Async concurrency chapter to eio</a></li><li><a href="https://alan.petitepomme.net/cwn/2024.04.30.html#3">Using Property-Based Testing to Test OCaml 5</a></li><li><a href="https://alan.petitepomme.net/cwn/2024.04.30.html#4">OCaml Backtraces on Uncaught Exceptions, by OCamlPro</a></li><li><a href="https://alan.petitepomme.net/cwn/2024.04.30.html#5">OCaml Users on Windows: Please share your insights on our user survey</a></li><li><a href="https://alan.petitepomme.net/cwn/2024.04.30.html#6">Graphql_jsoo_client 0.1.0 - library for GraphQL clients using WebSockts</a></li><li><a href="https://alan.petitepomme.net/cwn/2024.04.30.html#7">dream-html 3.0.0</a></li><li><a href="https://alan.petitepomme.net/cwn/2024.04.30.html#8">DkCoder 0.2 - Scripting in OCaml</a></li><li><a href="https://alan.petitepomme.net/cwn/2024.04.30.html#9">Ocaml-protoc-plugin 6.1.0</a></li><li><a href="https://alan.petitepomme.net/cwn/2024.04.30.html#10">Other OCaml News</a></li></ol>

0 comments on commit d0e23cf

Please sign in to comment.