diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7517790..fe4acb3 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -34,6 +34,16 @@ - ldc-latest - dmd-master - ldc-master + # This is the bootstrap compiler used to compile the releases + - ldc-1.23.0 + # Some intermediate compilers for good measure + - dmd-2.095.1 + - dmd-2.098.1 + include: + - { do_test: true } + - { dc: dmd-2.095.1, do_test: false } + - { dc: dmd-2.098.1, do_test: false } + - { dc: ldc-1.23.0 , do_test: false } runs-on: ${{ matrix.os }} steps: @@ -68,8 +78,10 @@ FRONTEND: 2.095.0 run: | dub build --compiler=${{ env.DC }} - dub run --compiler=${{ env.DC }} --single test/issue2051_running_unittests_from_dub_single_file_packages_fails.d - ./scripts/ci/travis.sh + if [[ ${{ matrix.do_test }} == 'true' ]]; then + dub run --compiler=${{ env.DC }} --single test/issue2051_running_unittests_from_dub_single_file_packages_fails.d + ./scripts/ci/travis.sh + fi - name: '[Windows] Test' if: runner.os == 'Windows' @@ -79,8 +91,10 @@ # the test-suite needs to be overhauled to support Windows run: | dub build --compiler=${{ env.DC }} - dub test --compiler=${{ env.DC }} - dub run --compiler=${{ env.DC }} --single test\issue2051_running_unittests_from_dub_single_file_packages_fails.d - cd test - dub --single run-unittest.d - shell: pwsh + if [[ ${{ matrix.do_test }} == 'true' ]]; then + dub test --compiler=${{ env.DC }} + dub run --compiler=${{ env.DC }} --single test/issue2051_running_unittests_from_dub_single_file_packages_fails.d + cd test + dub --single run-unittest.d + fi + shell: bash