This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
job_dev_ci: | |
image: alpine:latest | |
script: | |
- echo "Hello" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM superherointj/archlinux-base | |
# Installs Node/NPM | |
RUN pacman -S --noconfirm npm nodejs | |
# Installs Esy as root | |
RUN npm install -g --unsafe-perm=true esy | |
### Needed for Git Clone ### | |
RUN pacman -Syu --noconfirm git openssh | |
RUN mkdir -p ~/.ssh/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM superherointj/archlinux-base | |
RUN pacman -Syu --noconfirm base-devel perl openssh git npm nodejs | |
RUN mkdir -p ~/.ssh/ | |
RUN chmod 700 ~/.ssh | |
### Enabling PERL path for `shasum` dependency and others | |
ENV PATH=/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:${PATH} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(executable | |
(name lwt_demo1) | |
(libraries lwt lwt.unix) | |
(preprocess (pps lwt_ppx)) | |
(flags (:standard -warn-error -22)) | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(executable | |
(name lwthelloworld) | |
(public_name lwthelloworld) | |
(libraries lwt lwt.unix) | |
(preprocess (pps lwt_ppx)) | |
(flags (:standard -warn-error -22)) | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(executable | |
(name esy-musl) | |
(flags (-ccopt -static)) | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~/dev/ocaml/esy-musl $ esy build | |
info esy build 0.6.2 (using package.json) | |
info building ocaml@github:EduardoRFS/ocaml:package.json#594b838eb90f3b7ed02cd7d0112ce0f52efe95e3@d41d8cd9 | |
info building ocaml@github:EduardoRFS/ocaml:package.json#594b838eb90f3b7ed02cd7d0112ce0f52efe95e3@d41d8cd9: done | |
info building @opam/dune@opam:2.3.1@b10b59bf | |
info building @opam/ocamlfind@opam:1.8.1@ff07b0f9 | |
info building @opam/ocamlfind@opam:1.8.1@ff07b0f9: done | |
info building @opam/dune@opam:2.3.1@b10b59bf: done | |
info building @opam/cppo@opam:1.6.6@f4f83858 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2700x-PC intj ~/git/monorepo/packages/batci (master) $ esy build | |
info esy build 0.6.2 (using package.json) | |
File "test/lib/MyFirstTest.re", line 4, characters 33-39: | |
4 | describe("my first test suite", ({test}) => { | |
^^^^^^ | |
Error (warning 9): the following labels are not bound in this record pattern: | |
describe, describeSkip, describeOnly, testSkip, testOnly | |
Either bind these labels explicitly or add '; _' to the pattern. | |
File "test/lib/MyFirstTest.re", line 5, characters 32-40: | |
5 | test("1 + 1 should equal 2", ({expect}) => { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
debug checkStaleness /home/intj/git/monorepo/packages/batci2/esy.lock/index.json: true | |
debug checkStaleness /home/intj/git/monorepo/packages/batci2/package.json: false | |
debug cache is stale, discarding | |
debug reading project cache: 11.187077ms | |
debug fetching metadata path:./package.json | |
debug not an override /home/intj/git/monorepo/packages/batci2: error: no such field: source | |
debug solve config: { Config.installCfg = | |
{ Config.sourceArchivePath = None; | |
sourceFetchPath = /home/intj/.esy/source/f; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
make[1]: Entrando no diretório '/home/intj/git/esy-musl' | |
musl-gcc fastreplacestring/fastreplacestring.o (exit 1) | |
(cd _build/default/fastreplacestring && /usr/bin/musl-gcc -I /home/intj/.esy/3_____________________________________________________________________/i/ocaml-0592509b/lib/ocaml -lstdc++ -fPIC -g -o fastreplacestring.o -c fastreplacestring.cpp) | |
fastreplacestring.cpp:1:10: fatal error: cstdio: No such file or directory | |
1 | #include <cstdio> | |
| ^~~~~~~~ | |
compilation terminated. | |
make[1]: *** [Makefile:86: build] Erro 1 | |
make[1]: Saindo do diretório '/home/intj/git/esy-musl' |