Skip to content

Commit

Permalink
front load
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-noland committed Nov 4, 2024
1 parent 2978d2e commit b204cd5
Showing 1 changed file with 20 additions and 21 deletions.
41 changes: 20 additions & 21 deletions .github/workflows/sterile-build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,12 @@ jobs:
registry: ghcr.io
username: "${{ github.actor }}"
password: "${{ secrets.GITHUB_TOKEN }}"
- name: install just
uses: extractions/setup-just@v2
with:
just-version: ${{env.just}}

- uses: cargo-bins/cargo-binstall@main

- name: install markdown-test-report
run: cargo binstall --no-confirm just

- name: Checkout
uses: actions/checkout@v4

Expand Down Expand Up @@ -82,23 +84,6 @@ jobs:
toolchain: ${{ matrix.rust }}
targets: x86_64-unknown-linux-gnu,x86_64-unknown-linux-musl

- uses: cargo-bins/cargo-binstall@main
if: ${{ always() }}

- name: install openssl and libssl-dev (needed for markdown-test-report)
if: ${{ always() }}
run: |
sudo apt-get update
sudo apt-get --yes --no-install-recommends install \
colorized-logs \
libssl-dev \
openssl \
pkg-config
- name: install markdown-test-report
if: ${{ always() }}
run: cargo binstall --no-confirm markdown-test-report

- name: dev/gnu report
run: |
export GITHUB_STEP_SUMMARY
Expand Down Expand Up @@ -127,6 +112,20 @@ jobs:
just rust="${{matrix.rust}}" profile=release target=x86_64-unknown-linux-musl report
if: ${{ always() }}

- name: install openssl and libssl-dev (needed for markdown-test-report)
if: ${{ always() }}
run: |
sudo apt-get update
sudo apt-get --yes --no-install-recommends install \
colorized-logs \
libssl-dev \
openssl \
pkg-config
- name: install markdown-test-report
if: ${{ always() }}
run: cargo binstall --no-confirm markdown-test-report

- uses: actions/upload-artifact@v4
if: ${{ always() }}
with:
Expand Down

0 comments on commit b204cd5

Please sign in to comment.