From 16a2490ccbd4857a6132907a2783ba8de6a972c8 Mon Sep 17 00:00:00 2001 From: Ian Butterworth Date: Sun, 24 Sep 2023 15:48:23 -0400 Subject: [PATCH] Update ci.yml --- .github/workflows/ci.yml | 37 ++++++++++++++++++++++++++++++++----- 1 file changed, 32 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 30f8a75..a5fa0fd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,13 +3,11 @@ on: - push - pull_request jobs: - test: - name: ${{ matrix.label }} - Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} + loading: + name: Loading only - Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} runs-on: ${{ matrix.os }} strategy: matrix: - label: - - '[Loading only]' version: - '1.6' - '1' @@ -24,12 +22,13 @@ jobs: exclude: - os: macOS-latest arch: x86 + - os: ubuntu-latest # covered in "tests" job + arch: x64 include: - os: ubuntu-latest arch: x64 prefix: xvfb-run -a -s '-screen 0 1024x768x24' preload: /usr/lib/x86_64-linux-gnu/libstdc++.so.6 - label: '[Tests]' steps: - uses: actions/checkout@v2 - uses: julia-actions/setup-julia@v1 @@ -45,6 +44,34 @@ jobs: - uses: julia-actions/julia-uploadcodecov@v0.1 env: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} + tests: + name: Tests - Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} + runs-on: ${{ matrix.os }} + strategy: + matrix: + version: + - '1.6' + - '1' + - '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: julia-actions/julia-buildpkg@v1 + - uses: julia-actions/julia-runtest@v1 + with: + prefix: xvfb-run -a -s '-screen 0 1024x768x24' + env: + LD_PRELOAD: /usr/lib/x86_64-linux-gnu/libstdc++.so.6 + - uses: julia-actions/julia-uploadcodecov@v0.1 + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} docs: name: Documentation runs-on: ubuntu-latest