Skip to content

Commit

Permalink
Merge pull request #3441 from mtzguido/pulse_ci
Browse files Browse the repository at this point in the history
Adding Pulse bootstrapping test to check-world
  • Loading branch information
mtzguido authored Sep 5, 2024
2 parents 715128c + bb81e9f commit 7fd387d
Showing 1 changed file with 17 additions and 56 deletions.
73 changes: 17 additions & 56 deletions .github/workflows/check-world.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ jobs:
with:
name: FStar
extra: --exclude=FStar/ocaml/_build
hometag: FSTAR

test-fstar:
runs-on: ubuntu-latest
Expand All @@ -53,7 +54,6 @@ jobs:
- uses: mtzguido/gci-download@master
with:
name: FStar
hometag: FSTAR

- name: Test
run: make -C FStar -skj$(nproc) ci-uregressions
Expand Down Expand Up @@ -88,6 +88,13 @@ jobs:
cd FStar/
./.scripts/check-snapshot-diff.sh
- uses: mtzguido/gci-upload@master
with:
name: FStar-boot
path: FStar
extra: --exclude=FStar/ocaml/_build
hometag: FSTAR

build-krml:
runs-on: ubuntu-latest
container: mtzguido/fstar-base-testing
Expand All @@ -101,7 +108,6 @@ jobs:
- uses: mtzguido/gci-download@master
with:
name: FStar
hometag: FSTAR

- name: Checkout karamel
uses: actions/checkout@master
Expand Down Expand Up @@ -147,6 +153,7 @@ jobs:
with:
name: karamel
extra: --exclude=karamel/_build
hometag: KRML

test-krml:
runs-on: ubuntu-latest
Expand All @@ -163,12 +170,10 @@ jobs:
- uses: mtzguido/gci-download@master
with:
name: FStar
hometag: FSTAR

- uses: mtzguido/gci-download@master
with:
name: karamel
hometag: KRML

- name: Test
run: make -C karamel -skj$(nproc) test
Expand All @@ -188,12 +193,10 @@ jobs:
- uses: mtzguido/gci-download@master
with:
name: FStar
hometag: FSTAR

- uses: mtzguido/gci-download@master
with:
name: karamel
hometag: KRML

- name: Checkout steel
uses: actions/checkout@master
Expand All @@ -207,6 +210,7 @@ jobs:
- uses: mtzguido/gci-upload@master
with:
name: steel
hometag: STEEL

test-steel:
runs-on: ubuntu-latest
Expand All @@ -224,17 +228,14 @@ jobs:
- uses: mtzguido/gci-download@master
with:
name: FStar
hometag: FSTAR

- uses: mtzguido/gci-download@master
with:
name: karamel
hometag: KRML

- uses: mtzguido/gci-download@master
with:
name: steel
hometag: STEEL

- name: Test
run: make -C steel -skj$(nproc) test
Expand All @@ -244,7 +245,6 @@ jobs:
container: mtzguido/fstar-base-testing
needs:
- build-fstar
- build-krml
steps:
- name: Cleanup
run: find . -delete
Expand All @@ -254,12 +254,6 @@ jobs:
- uses: mtzguido/gci-download@master
with:
name: FStar
hometag: FSTAR

- uses: mtzguido/gci-download@master
with:
name: karamel
hometag: KRML

- name: Checkout pulse
uses: actions/checkout@master
Expand All @@ -273,13 +267,13 @@ jobs:
- uses: mtzguido/gci-upload@master
with:
name: pulse
hometag: PULSE

test-pulse-boot:
runs-on: ubuntu-latest
container: mtzguido/fstar-base-testing
needs:
- build-fstar
- build-krml
- test-fstar-boot
steps:
- name: Cleanup
run: find . -delete
Expand All @@ -288,13 +282,7 @@ jobs:

- uses: mtzguido/gci-download@master
with:
name: FStar
hometag: FSTAR

- uses: mtzguido/gci-download@master
with:
name: karamel
hometag: KRML
name: FStar-boot

- name: Checkout pulse
uses: actions/checkout@master
Expand All @@ -308,7 +296,7 @@ jobs:
# check the library.
make -C pulse/src -skj$(nproc) clean-snapshot
make -C pulse/src -skj$(nproc) extract
make -C pulse/src -skj$(nproc) build
make -C pulse/src -skj$(nproc) build-ocaml
- name: Check diff
run: |
Expand All @@ -331,17 +319,14 @@ jobs:
- uses: mtzguido/gci-download@master
with:
name: FStar
hometag: FSTAR

- uses: mtzguido/gci-download@master
with:
name: karamel
hometag: KRML

- uses: mtzguido/gci-download@master
with:
name: pulse
hometag: PULSE

- name: Test
run: make -C pulse -skj$(nproc) test
Expand All @@ -362,12 +347,10 @@ jobs:
- uses: mtzguido/gci-download@master
with:
name: FStar
hometag: FSTAR

- uses: mtzguido/gci-download@master
with:
name: karamel
hometag: KRML

- name: Checkout hacl-star
uses: actions/checkout@master
Expand All @@ -389,6 +372,7 @@ jobs:
- uses: mtzguido/gci-upload@master
with:
name: hacl-star
hometag: HACL

test-hacl:
runs-on: ubuntu-latest
Expand All @@ -406,17 +390,14 @@ jobs:
- uses: mtzguido/gci-download@master
with:
name: FStar
hometag: FSTAR

- uses: mtzguido/gci-download@master
with:
name: karamel
hometag: KRML

- uses: mtzguido/gci-download@master
with:
name: hacl-star
hometag: HACL

- name: Get Vale (again)
run: ./hacl-star/tools/get_vale.sh
Expand All @@ -439,12 +420,10 @@ jobs:
- uses: mtzguido/gci-download@master
with:
name: FStar
hometag: FSTAR

- uses: mtzguido/gci-download@master
with:
name: karamel
hometag: KRML

- name: Checkout everparse
uses: actions/checkout@master
Expand All @@ -461,6 +440,7 @@ jobs:
- uses: mtzguido/gci-upload@master
with:
name: everparse
hometag: EVERPARSE

test-everparse:
runs-on: ubuntu-latest
Expand All @@ -478,17 +458,14 @@ jobs:
- uses: mtzguido/gci-download@master
with:
name: FStar
hometag: FSTAR

- uses: mtzguido/gci-download@master
with:
name: karamel
hometag: KRML

- uses: mtzguido/gci-download@master
with:
name: everparse
hometag: EVERPARSE

- name: Test
run: make -C everparse -skj$(nproc) test
Expand All @@ -510,22 +487,18 @@ jobs:
- uses: mtzguido/gci-download@master
with:
name: FStar
hometag: FSTAR

- uses: mtzguido/gci-download@master
with:
name: karamel
hometag: KRML

- uses: mtzguido/gci-download@master
with:
name: everparse
hometag: EVERPARSE

- uses: mtzguido/gci-download@master
with:
name: hacl-star
hometag: HACL

- name: Checkout merkle-tree
uses: actions/checkout@master
Expand Down Expand Up @@ -561,22 +534,18 @@ jobs:
- uses: mtzguido/gci-download@master
with:
name: FStar
hometag: FSTAR

- uses: mtzguido/gci-download@master
with:
name: karamel
hometag: KRML

- uses: mtzguido/gci-download@master
with:
name: everparse
hometag: EVERPARSE

- uses: mtzguido/gci-download@master
with:
name: hacl-star
hometag: HACL

- uses: mtzguido/gci-download@master
with:
Expand All @@ -602,22 +571,18 @@ jobs:
- uses: mtzguido/gci-download@master
with:
name: FStar
hometag: FSTAR

- uses: mtzguido/gci-download@master
with:
name: karamel
hometag: KRML

- uses: mtzguido/gci-download@master
with:
name: everparse
hometag: EVERPARSE

- uses: mtzguido/gci-download@master
with:
name: hacl-star
hometag: HACL

- name: Checkout mitls-fstar
uses: actions/checkout@master
Expand All @@ -631,6 +596,7 @@ jobs:
- uses: mtzguido/gci-upload@master
with:
name: mitls-fstar
hometag: MITLS

test-mitls-fstar:
runs-on: ubuntu-latest
Expand All @@ -650,27 +616,22 @@ jobs:
- uses: mtzguido/gci-download@master
with:
name: FStar
hometag: FSTAR

- uses: mtzguido/gci-download@master
with:
name: karamel
hometag: KRML

- uses: mtzguido/gci-download@master
with:
name: everparse
hometag: EVERPARSE

- uses: mtzguido/gci-download@master
with:
name: hacl-star
hometag: HACL

- uses: mtzguido/gci-download@master
with:
name: mitls-fstar
hometag: MITLS

- name: Build
run: make -C mitls-fstar/src/tls -skj$(nproc) test

0 comments on commit 7fd387d

Please sign in to comment.