Skip to content

Commit

Permalink
Merge pull request #150 from LPCIC/fix-ci-artifact
Browse files Browse the repository at this point in the history
ci: save trace-elaborator as an artifact
  • Loading branch information
gares authored Jun 24, 2022
2 parents bdf2105 + 10bbec8 commit fa06049
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,19 +104,22 @@ jobs:
opam exec -- dune subst
opam exec -- make build DUNE_OPTS='--profile ${{ matrix.profile }}'
opam exec -- cp _build/install/default/bin/elpi elpi-${{ matrix.ocaml-version }}-${{ matrix.parser }}-${{ runner.os }}.exe
opam exec -- cp _build/install/default/bin/elpi-trace-elaborator elpi-trace-elaborator-${{ matrix.ocaml-version }}-${{ matrix.parser }}-${{ runner.os }}.exe
- name: Strip binary
run: |
opam exec -- chmod u+w ${{ env.workspace }}/elpi-${{ matrix.ocaml-version }}-${{ matrix.parser }}-${{ runner.os }}.exe
opam exec -- chmod u+w ${{ env.workspace }}/elpi-trace-elaborator-${{ matrix.ocaml-version }}-${{ matrix.parser }}-${{ runner.os }}.exe
opam exec -- strip ${{ env.workspace }}/elpi-${{ matrix.ocaml-version }}-${{ matrix.parser }}-${{ runner.os }}.exe
opam exec -- strip ${{ env.workspace }}/elpi-trace-elaborator-${{ matrix.ocaml-version }}-${{ matrix.parser }}-${{ runner.os }}.exe
# Artifacts 1 ################################################################

- name: Save binary
uses: actions/upload-artifact@v2
with:
name: elpi-${{ matrix.ocaml-version }}-${{ matrix.parser }}-${{ runner.os }}
path: elpi-${{ matrix.ocaml-version }}-${{ matrix.parser }}-${{ runner.os }}.exe
path: elpi*-${{ matrix.ocaml-version }}-${{ matrix.parser }}-${{ runner.os }}.exe

# Test ######################################################################
#
Expand Down

0 comments on commit fa06049

Please sign in to comment.