mirror of
https://github.com/CatalaLang/catala.git
synced 2024-09-20 00:41:05 +03:00
Added ubuntu long build
This commit is contained in:
parent
1dae73b020
commit
1b4ce93eae
30
.github/workflows/build.yml
vendored
30
.github/workflows/build.yml
vendored
@ -1,30 +0,0 @@
|
||||
name: FullBuildCI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [master]
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build-nix-21-05:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2.3.4
|
||||
- uses: cachix/install-nix-action@v14.1
|
||||
with:
|
||||
nix_path: nixpkgs=channel:nixos-21.05
|
||||
- run: nix-shell -p nix-info --run "nix-info -m"
|
||||
- run: nix-build release.nix
|
||||
- run: nix-shell --run "echo OK"
|
||||
|
||||
build-nix-unstable:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2.3.4
|
||||
- uses: cachix/install-nix-action@v14.1
|
||||
with:
|
||||
nix_path: nixpkgs=channel:nixos-unstable
|
||||
- run: nix-shell -p nix-info --run "nix-info -m"
|
||||
- run: nix-build release.nix
|
||||
- run: nix-shell --run "echo OK"
|
||||
|
55
.github/workflows/run-builds.yml
vendored
Normal file
55
.github/workflows/run-builds.yml
vendored
Normal file
@ -0,0 +1,55 @@
|
||||
name: Builds
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [master]
|
||||
|
||||
jobs:
|
||||
build-ubuntu:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Set up OCaml
|
||||
uses: avsm/setup-ocaml@v2
|
||||
with:
|
||||
ocaml-compiler: 4.11.x
|
||||
dune-cache: true
|
||||
|
||||
- name: Install Python dependencies
|
||||
run: |
|
||||
sudo apt-get update && sudo apt-get install python3-dev python3-setuptools python3-pygments man2html rsync colordiff libmpc-dev
|
||||
sudo python3 -m pip install --upgrade pip
|
||||
sudo python3 -m pip install virtualenv
|
||||
sudo make pygments
|
||||
./french_law/python/setup_env.sh
|
||||
- name: Install OCaml dependencies
|
||||
run: |
|
||||
opam install . --deps-only --with-doc --with-test
|
||||
- name: Make build
|
||||
run: |
|
||||
OCAMLRUNPARAM=b opam exec -- make build
|
||||
|
||||
build-nix-21-05:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2.3.4
|
||||
- uses: cachix/install-nix-action@v14.1
|
||||
with:
|
||||
nix_path: nixpkgs=channel:nixos-21.05
|
||||
- run: nix-shell -p nix-info --run "nix-info -m"
|
||||
- run: nix-build release.nix
|
||||
- run: nix-shell --run "echo OK"
|
||||
|
||||
build-nix-unstable:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2.3.4
|
||||
- uses: cachix/install-nix-action@v14.1
|
||||
with:
|
||||
nix_path: nixpkgs=channel:nixos-unstable
|
||||
- run: nix-shell -p nix-info --run "nix-info -m"
|
||||
- run: nix-build release.nix
|
||||
- run: nix-shell --run "echo OK"
|
||||
|
2
.github/workflows/run-make-all.yml
vendored
2
.github/workflows/run-make-all.yml
vendored
@ -1,4 +1,4 @@
|
||||
name: RoutineCI
|
||||
name: Harness
|
||||
|
||||
on:
|
||||
push
|
||||
|
Loading…
Reference in New Issue
Block a user