Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
61 changes: 14 additions & 47 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,65 +14,32 @@ 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 }}-
fetch-depth: 0
- 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 jn/no-half-duplex
- run: cd /tmp/julia && git log -n 1
- 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 }}