Skip to content

Update compat dependencies and add Julia LTS (1.10) to the CI #120

Update compat dependencies and add Julia LTS (1.10) to the CI

Update compat dependencies and add Julia LTS (1.10) to the CI #120

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
jobs:
test:
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
version:
- '1.10'
- '1'
os:
- ubuntu-latest
- macOS-latest
- windows-latest
arch:
- x64
include:
- os: ubuntu-latest
prefix: xvfb-run
exclude:
- os: windows-latest
version: '1.10'
steps:
- uses: actions/checkout@v3
- uses: julia-actions/setup-julia@v1
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
- uses: julia-actions/cache@v1
# Workaround for Electron issue on Ubuntu
# See https://github.com/electron/electron/issues/42510
- name: Apply Electron sandbox fix on Ubuntu
if: matrix.os == 'ubuntu-latest'
run: |
sudo chown root /home/runner/.julia/artifacts/cae80dc5ebd42950807d603cea93d970432b956d/chrome-sandbox
sudo chmod 4755 /home/runner/.julia/artifacts/cae80dc5ebd42950807d603cea93d970432b956d/chrome-sandbox
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1
with:
prefix: ${{ matrix.prefix }}