Skip to content

Commit

Permalink
Work around failing nightly
Browse files Browse the repository at this point in the history
Rebuilt using JuliaLang/Example.jl
(Hoping it works)
  • Loading branch information
ma-laforge authored Sep 28, 2024
1 parent 84951a7 commit ec51e5c
Showing 1 changed file with 22 additions and 24 deletions.
46 changes: 22 additions & 24 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,41 +1,40 @@
name: CI
on:
pull_request:
branches:
- master
push:
branches:
- master
tags: '*'
branches: [main, master]
tags: ["*"]
pull_request:
jobs:
test:
name: Julia ${{ matrix.julia-version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
julia-version:
#1.0 fails when precompiling Cairo, for some reason
#- '1.0' # Replace this with the minimum Julia version that your package supports. E.g. if your package requires Julia 1.5 or higher, change this to '1.5'.
- '1.3' # Minimum taken from Cairo.
- '1' # Leave this line unchanged. '1' will automatically expand to the latest stable 1.x release of Julia.
- 'nightly'
version:
- '1.6' #Min version specified in project.toml
- '1' # automatically expands to the latest stable 1.x release of Julia
- 'pre'
os:
- ubuntu-latest
- macos-latest
- windows-latest
- macos-latest
arch:
- x64
include:
# test macOS and Windows with latest Julia only
- os: macOS-latest
arch: aarch64
version: 1
- os: ubuntu-latest
prefix: xvfb-run
steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@v1
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v2
with:
version: ${{ matrix.julia-version }}
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
- uses: actions/cache@v2
- uses: actions/cache@v4
env:
cache-name: cache-artifacts
with:
Expand All @@ -45,11 +44,10 @@ jobs:
${{ runner.os }}-test-${{ env.cache-name }}-
${{ runner.os }}-test-
${{ runner.os }}-
- uses: julia-actions/julia-buildpkg@latest
- uses: julia-actions/julia-runtest@latest
with:
prefix: ${{ matrix.prefix }}
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1
- uses: julia-actions/julia-processcoverage@v1
- uses: codecov/codecov-action@v1
- uses: codecov/codecov-action@v4
with:
file: lcov.info
files: lcov.info
token: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit ec51e5c

Please sign in to comment.