Skip to content

Commit

Permalink
Compress artefact before uploading
Browse files Browse the repository at this point in the history
  • Loading branch information
NatKarmios committed Jun 28, 2024
1 parent 721d593 commit c41c6f2
Showing 1 changed file with 21 additions and 8 deletions.
29 changes: 21 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,13 @@ jobs:
run: |
opam exec -- dune build @install
opam install . -y
- name: Compressing artifact
run: tar czf opam.tar.gz _opam
- name: Sending artifact for next jobs
uses: actions/upload-artifact@v4
with:
name: ${{ runner.os }}-opam
path: _opam
path: opam.tar.gz
- name: Building docs
run: make docs
if: runner.os == 'Linux'
Expand Down Expand Up @@ -90,7 +92,9 @@ jobs:
uses: actions/download-artifact@v4
with:
name: ${{ runner.os }}-opam
path: _opam
path: opam.tar.gz
- name: Extract release
run: tar xzf opam.tar.gz
- name: init env
run: "Gillian-C/scripts/setup_environment.sh"
working-directory: "Gillian"
Expand Down Expand Up @@ -119,7 +123,9 @@ jobs:
uses: actions/download-artifact@v4
with:
name: ${{ runner.os }}-opam
path: _opam
path: opam.tar.gz
- name: Extract release
run: tar xzf opam.tar.gz
- name: init env
run: "Gillian-JS/scripts/setup_environment.sh"
working-directory: "Gillian"
Expand Down Expand Up @@ -150,7 +156,9 @@ jobs:
uses: actions/download-artifact@v4
with:
name: ${{ runner.os }}-opam
path: _opam
path: opam.tar.gz
- name: Extract release
run: tar xzf opam.tar.gz
- name: init env
run: "kanillian/scripts/setup_environment.sh"
working-directory: "Gillian"
Expand Down Expand Up @@ -179,7 +187,9 @@ jobs:
uses: actions/download-artifact@v4
with:
name: ${{ runner.os }}-opam
path: _opam
path: opam.tar.gz
- name: Extract release
run: tar xzf opam.tar.gz
- name: Test262
run: "gillian-js test262 test262/test --ci"

Expand All @@ -204,7 +214,9 @@ jobs:
uses: actions/download-artifact@v4
with:
name: ${{ runner.os }}-opam
path: _opam
path: opam.tar.gz
- name: Extract release
run: tar xzf opam.tar.gz
- name: Symbolic Testing Collections-C
run: "./runGillianTests.sh"
working-directory: collections-c
Expand All @@ -228,8 +240,9 @@ jobs:
# uses: actions/download-artifact@v4
# with:
# name: ${{ runner.os }}-opam
# path: _opam

# path: opam.tar.gz
# - name: Extract release
# run: tar xzf opam.tar.gz
# - name: Symbolic Testing Buckets.js
# run: "opam exec -- gillian-js cosette-bulk Gillian/Gillian-JS/Examples/Cosette/Buckets --ci"

Expand Down

0 comments on commit c41c6f2

Please sign in to comment.