mirror of
https://github.com/architectury/architectury-loom.git
synced 2026-03-28 04:07:01 -05:00
Ensure outputs are reproducable across all OS's. (#363)
This commit is contained in:
27
.github/workflows/test-push.yml
vendored
27
.github/workflows/test-push.yml
vendored
@@ -66,7 +66,32 @@ jobs:
|
||||
TEST_WARNING_MODE: fail
|
||||
|
||||
- uses: actions/upload-artifact@v2
|
||||
if: ${{ always() }}
|
||||
if: ${{ failure() }}
|
||||
with:
|
||||
name: ${{ matrix.test }} (${{ matrix.java }}) Results
|
||||
path: build/reports/
|
||||
|
||||
# Special case this test to run across all os's
|
||||
reproducible_build_test:
|
||||
needs: build
|
||||
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
java: [ 1.8, 11, 15 ]
|
||||
os: [ windows-2019, ubuntu-20.04, macos-10.15 ]
|
||||
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-java@v1
|
||||
with:
|
||||
java-version: ${{ matrix.java }}
|
||||
|
||||
- run: ./gradlew test --tests *ReproducibleBuildTest --stacktrace
|
||||
|
||||
- uses: actions/upload-artifact@v2
|
||||
if: ${{ failure() }}
|
||||
with:
|
||||
name: Reproducible Build ${{ matrix.os }} (${{ matrix.java }}) Results
|
||||
path: build/reports/
|
||||
Reference in New Issue
Block a user