Skip to content

Test C codegen with -Wextra #170

Test C codegen with -Wextra

Test C codegen with -Wextra #170

Workflow file for this run

name: OCaml CI
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Ubuntu packages
run: sudo apt install libgc-dev libpcre3-dev -y
- name: Install Opam
run: |
echo "" | bash -c "sh <(curl -fsSL https://raw.githubusercontent.com/ocaml/opam/master/shell/install.sh)"
- name: Cache Opam
id: cache-opam
uses: actions/cache@v4
with:
path: ~/.opam
key: ${{ hashFiles('**.opam') }}
- name: Initialize Opam
if: steps.cache-opam.outputs.cache-hit != 'true'
# Disabling sandboxing because it does not work on some versions of Ubuntu.
run: opam init --auto-setup --disable-sandboxing -y
- name: Install the dependencies
if: steps.cache-opam.outputs.cache-hit != 'true'
run: |
opam install . --deps-only --with-test -y
opam install ocamlformat odoc -y
- name: Check formatting
run: opam exec -- dune build @fmt --action-stderr-on-success=must-be-empty
- name: Unit tests
run: opam exec ./scripts/test.sh
- name: End-to-end tests
run: opam exec ./scripts/test-examples.sh
- name: C codegen tests
run: opam exec ./scripts/test-c-codegen.sh
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy