diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e3ecc28..94b0b47 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,65 +14,29 @@ jobs: test: name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }} runs-on: ${{ matrix.os }} - timeout-minutes: 30 + timeout-minutes: 60 strategy: fail-fast: false matrix: - version: - - '1.6' - - '1' - - '^1.7.0-0' - # - 'nightly' os: - ubuntu-latest - arch: - - x64 steps: - uses: actions/checkout@v2 - - uses: julia-actions/setup-julia@v1 - with: - version: ${{ matrix.version }} - arch: ${{ matrix.arch }} - - uses: actions/cache@v1 - env: - cache-name: cache-artifacts - with: - path: ~/.julia/artifacts - key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }} - restore-keys: | - ${{ runner.os }}-test-${{ env.cache-name }}- - ${{ runner.os }}-test- - ${{ runner.os }}- - run: git config --global user.name "Dilum Aluthge" - run: git config --global user.email "dilum@aluthge.com" + - run: rm -rf /tmp/julia + - run: mkdir -p /tmp + - run: cd /tmp && git clone https://github.com/JuliaLang/julia.git + - run: cd /tmp/julia && git checkout 1fd46e6251b7e8fd60559ed513144efdbb69cb7c + - run: cd /tmp/julia && make -j2 + - run: cd /tmp/julia && make install + - run: echo "/tmp/julia/usr/bin" >> $GITHUB_PATH + - run: which -a julia + - run: which julia + - run: julia --version + - run: julia -e 'using InteractiveUtils; InteractiveUtils.versioninfo(; verbose = true)' - uses: julia-actions/julia-buildpkg@v1 - uses: julia-actions/julia-runtest@v1 env: JULIA_DEBUG: 'all' BUMPSTDLIBS_TOKEN_FOR_TESTS: ${{ secrets.BUMPSTDLIBS_TOKEN_FOR_TESTS }} - - uses: julia-actions/julia-processcoverage@v1 - - uses: codecov/codecov-action@v1 - with: - file: lcov.info - docs: - name: Documentation - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - uses: julia-actions/setup-julia@v1 - with: - version: '1' - - run: | - julia --project=docs -e ' - using Pkg - Pkg.develop(PackageSpec(path=pwd())) - Pkg.instantiate()' - - run: | - julia --project=docs -e ' - using Documenter: doctest - using BumpStdlibs - doctest(BumpStdlibs)' - - run: julia --project=docs docs/make.jl - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}