Skip to content

Commit

Permalink
Clean up ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Miguel Bazdresch committed May 5, 2023
1 parent aecb2ed commit a389065
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
Expand Up @@ -3,37 +3,35 @@ name: CI
on:
pull_request:
push:
branches: [master]

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
tags:
- v*
workflow_dispatch:

jobs:
test:
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
version:
- '1.6' # latest LTS
- '1'
- 'nightly'
os: [ubuntu-latest]
arch: [x64]
julia-lts:
name: Julia LTS
runs-on: ubuntu-latest
steps:
- run: sudo apt-get -y install gnuplot
- uses: julia-actions/setup-julia@latest
with:
version: 1.6
arch: x64
- uses: actions/checkout@v3
- uses: julia-actions/cache@v1
- uses: julia-actions/julia-buildpkg@latest
- uses: julia-actions/julia-runtest@latest

julia-stable:
name: Julia Stable
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Ubuntu LaTeX dependencies
if: startsWith(matrix.os, 'ubuntu')
run: |
sudo apt-get -y update
sudo apt-get -y install gnuplot
- run: sudo apt-get -y install gnuplot
- uses: julia-actions/setup-julia@latest
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
version: 1
arch: x64
- uses: julia-actions/cache@v1
- uses: julia-actions/julia-buildpkg@latest
- uses: julia-actions/julia-runtest@latest

0 comments on commit a389065

Please sign in to comment.