Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-noland committed Oct 28, 2024
1 parent 212dba7 commit ee7b140
Showing 1 changed file with 24 additions and 8 deletions.
32 changes: 24 additions & 8 deletions .github/workflows/sterile-build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,16 +54,16 @@ jobs:
node-version: "latest"

- run: just rust="${{matrix.rust}}" sterile cargo nextest run --locked --profile=debug --target=x86_64-unknown-linux-gnu
- run: npx --yes xunit-viewer -r sterile/target/nextest/debug/junit.xml --output sterile/target/nextest/debug/debug.x86_64-unknown-linux-gnu.html
- run: npx --yes xunit-viewer -r sterile/target/nextest/default/junit.xml --output sterile/target/nextest/default/debug.x86_64-unknown-linux-gnu.html

- run: just rust="${{matrix.rust}}" sterile cargo nextest run --locked --profile=debug --target=x86_64-unknown-linux-musl
- run: npx --yes xunit-viewer -r sterile/target/nextest/debug/junit.xml --output sterile/target/nextest/debug/debug.x86_64-unknown-linux-musl.html
- run: npx --yes xunit-viewer -r sterile/target/nextest/default/junit.xml --output sterile/target/nextest/default/debug.x86_64-unknown-linux-musl.html

- run: just rust="${{matrix.rust}}" sterile cargo nextest run --locked --profile=release --target=x86_64-unknown-linux-gnu
- run: npx --yes xunit-viewer -r sterile/target/nextest/release/junit.xml --output sterile/target/nextest/release/release.x86_64-unknown-linux-gnu.html
- run: npx --yes xunit-viewer -r sterile/target/nextest/default/junit.xml --output sterile/target/nextest/default/release.x86_64-unknown-linux-gnu.html

- run: just rust="${{matrix.rust}}" sterile cargo nextest run --locked --profile=release --target=x86_64-unknown-linux-musl
- run: npx --yes xunit-viewer -r sterile/target/nextest/release/junit.xml --output sterile/target/nextest/release/release.x86_64-unknown-linux-musl.html
- run: npx --yes xunit-viewer -r sterile/target/nextest/default/junit.xml --output sterile/target/nextest/default/release.x86_64-unknown-linux-musl.html

- run: just rust="${{matrix.rust}}" profile=debug target=x86_64-unknown-linux-gnu push-container
- run: just rust="${{matrix.rust}}" profile=release target=x86_64-unknown-linux-gnu push-container
Expand All @@ -72,10 +72,26 @@ jobs:

- uses: actions/upload-artifact@v4
with:
name: 'test-results'
path: sterile/target/nextest/default/
retention-days: 10
overwrite: 'true'
name: 'debug.x86_64-unknown-linux-gnu.html'
path: sterile/target/nextest/default/debug.x86_64-unknown-linux-gnu.html
compression-level: '0'

- uses: actions/upload-artifact@v4
with:
name: 'debug.x86_64-unknown-linux-musl.html'
path: sterile/target/nextest/default/debug.x86_64-unknown-linux-musl.html
compression-level: '0'

- uses: actions/upload-artifact@v4
with:
name: 'release.x86_64-unknown-linux-gnu.html'
path: sterile/target/nextest/default/release.x86_64-unknown-linux-gnu.html
compression-level: '0'

- uses: actions/upload-artifact@v4
with:
name: 'release.x86_64-unknown-linux-musl.html'
path: sterile/target/nextest/default/release.x86_64-unknown-linux-musl.html
compression-level: '0'

- name: Setup tmate session for debug
Expand Down

0 comments on commit ee7b140

Please sign in to comment.