Skip to content

Commit c50c47d

Browse files
committed
Add CI builds with local allocations enabled
1 parent 1412792 commit c50c47d

File tree

1 file changed

+38
-2
lines changed

1 file changed

+38
-2
lines changed

.github/workflows/main.yml

Lines changed: 38 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@ name: main
33
on: [push, pull_request]
44

55
jobs:
6-
no-naked-pointers:
6+
no-naked-pointers-local:
77
runs-on: ubuntu-latest
8+
env:
9+
OCAMLPARAM: "_,extension=local"
810
steps:
911
- name: Checkout
1012
uses: actions/checkout@v2
@@ -16,8 +18,10 @@ jobs:
1618
- name: Run the testsuite
1719
run: |
1820
make -C testsuite USE_RUNTIME=d all
19-
i386-static:
21+
i386-static-local:
2022
runs-on: ubuntu-latest
23+
env:
24+
OCAMLPARAM: "_,extension=local"
2125
steps:
2226
- name: Checkout
2327
uses: actions/checkout@v2
@@ -69,3 +73,35 @@ jobs:
6973
- name: Other checks
7074
run: |
7175
MAKE_ARG=-j OCAMLRUNPARAM=b,v=0 bash -xe tools/ci/actions/runner.sh other-checks
76+
full-flambda-local:
77+
runs-on: ubuntu-latest
78+
env:
79+
OCAMLPARAM: "_,extension=local"
80+
steps:
81+
- name: Checkout
82+
uses: actions/checkout@v2
83+
- name: Packages
84+
run: |
85+
sudo apt-get update -y && sudo apt-get install -y texlive-latex-extra texlive-fonts-recommended
86+
# Ensure that make distclean can be run from an empty tree
87+
- name: distclean
88+
run: |
89+
MAKE_ARG=-j make distclean
90+
- name: configure tree
91+
run: |
92+
MAKE_ARG=-j XARCH=x64 CONFIG_ARG='--enable-flambda --enable-dependency-generation' OCAMLRUNPARAM=b,v=0 bash -xe tools/ci/actions/runner.sh configure
93+
- name: Build
94+
run: |
95+
MAKE_ARG=-j OCAMLRUNPARAM=b,v=0 bash -xe tools/ci/actions/runner.sh build
96+
- name: Run the testsuite
97+
run: |
98+
MAKE_ARG=-j OCAMLRUNPARAM=b,v=0 bash -xe tools/ci/actions/runner.sh test
99+
- name: Build API Documentation
100+
run: |
101+
MAKE_ARG=-j OCAMLRUNPARAM=b,v=0 bash -xe tools/ci/actions/runner.sh api-docs
102+
- name: Install
103+
run: |
104+
MAKE_ARG=-j OCAMLRUNPARAM=b,v=0 bash -xe tools/ci/actions/runner.sh install
105+
- name: Other checks
106+
run: |
107+
MAKE_ARG=-j OCAMLRUNPARAM=b,v=0 bash -xe tools/ci/actions/runner.sh other-checks

0 commit comments

Comments
 (0)