Skip to content

Commit 8ba57b3

Browse files
authoredJan 4, 2020
Switch to dune. (#36)
Fixes: #35
1 parent 29febf0 commit 8ba57b3

File tree

168 files changed

+5092
-29142
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

168 files changed

+5092
-29142
lines changed
 

‎.github/workflows/ci.yml

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: CI
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
runs-on: ${{ matrix.os }}
8+
strategy:
9+
matrix:
10+
os: [ubuntu-latest, macos-latest]
11+
steps:
12+
- uses: actions/checkout@v1
13+
- name: Setup OCaml
14+
uses: avsm/setup-ocaml@v1.0
15+
- name: Install depext module
16+
run: opam install -y depext
17+
- name: Pin locally
18+
run: opam pin -y add --no-action .
19+
# opam dexpext update fails on macos for some reason
20+
- name: Update packages and install locally
21+
run: opam depext -u -y -i ffmpeg
22+
if: matrix.os != 'macos-latest'
23+
- name: Install locally
24+
run: opam depext -y -i ffmpeg
25+
if: matrix.os == 'macos-latest'
26+
# tests fail for some reason on OSX
27+
# disabling them b/c they are tested
28+
# locally -- Romain (on macos for now..)
29+
- name: Run tests locally
30+
run: eval $(opam env) && dune runtest
31+
if: matrix.os != 'macos-latest'

‎.gitignore

+5-68
Original file line numberDiff line numberDiff line change
@@ -1,68 +1,5 @@
1-
/Makefile
2-
aclocal.m4
3-
autom4te.cache/
4-
config.guess
5-
config.log
6-
config.status
7-
config.sub
8-
configure
9-
install-sh
10-
src/META
11-
src/Makefile
12-
._bcdi/
13-
._d/
14-
._ncdi/
15-
*.a
16-
*.cm*
17-
*.o
18-
*.so
19-
*.dSYM/
20-
*\~
21-
src/channel_layout.ml
22-
src/channel_layout.mli
23-
src/channel_layout_stubs.h
24-
src/codec_id.ml
25-
src/codec_id.mli
26-
src/codec_id_stubs.h
27-
src/gen_code
28-
src/pixel_format.ml
29-
src/pixel_format.mli
30-
src/pixel_format_stubs.h
31-
src/polymorphic_variant_values_stubs.h
32-
src/sample_format.ml
33-
src/sample_format.mli
34-
src/sample_format_stubs.h
35-
src/swresample_options.ml
36-
src/swresample_options.mli
37-
src/swresample_options_stubs.h
38-
examples/list_filters/list_filters
39-
examples/decode_stream/decode_stream
40-
examples/audio_decoding/audio_decoding
41-
examples/audio_device/audio_device
42-
examples/decode_audio/decode_audio
43-
examples/demuxing_decoding/demuxing_decoding
44-
examples/encode_audio/encode_audio
45-
examples/encode_video/encode_video
46-
examples/encode_stream/encode_stream
47-
examples/encoding/encoding
48-
examples/player/player
49-
examples/remuxing/remuxing
50-
examples/transcode_aac/transcode_aac
51-
examples/transcoding/transcoding
52-
examples/fps/fps
53-
examples/aresample/aresample
54-
examples/audio_decoding/flac.raw
55-
examples/remuxing/out.mp4
56-
examples/decode_stream/A4.ogg
57-
examples/decode_stream/A4.mp3
58-
examples/decode_stream/decode_stream
59-
examples/read_metadata/read_metadata
60-
*.mp3
61-
*.flac
62-
*.ogg
63-
*.mp2
64-
*.mkv
65-
*.mp4
66-
*.raw
67-
test/test
68-
*.annot
1+
_build/
2+
*.install
3+
.*sw*
4+
.merlin
5+
*~

0 commit comments

Comments
 (0)
Please sign in to comment.