From ec51e5cc1faa561058351b7c317e6d2850a98f80 Mon Sep 17 00:00:00 2001 From: ma-laforge Date: Sat, 28 Sep 2024 16:45:12 -0400 Subject: [PATCH] Work around failing nightly Rebuilt using JuliaLang/Example.jl (Hoping it works) --- .github/workflows/ci.yml | 46 +++++++++++++++++++--------------------- 1 file changed, 22 insertions(+), 24 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2718f98..81cbdc7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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: @@ -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 }}