-
Notifications
You must be signed in to change notification settings - Fork 8
48 lines (41 loc) · 1015 Bytes
/
matlab.yml
File metadata and controls
48 lines (41 loc) · 1015 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
name: Matlab
on:
push:
branches: [main]
tags-ignore: ["**"]
paths:
- '.github/workflows/matlab.yml'
- 'c/hv*.[ch]p?p?'
- 'c/*.mk'
- 'matlab/Make*'
- 'matlab/*.[ch]p?p?'
- 'matlab/*.m'
pull_request:
branches-ignore: [gh-pages]
paths:
- '.github/workflows/matlab.yml'
- 'c/hv*.[ch]p?p?'
- 'c/*.mk'
- 'matlab/Make*'
- 'matlab/*.[ch]p?p?'
- 'matlab/*.m'
# Manual run
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
if: "! contains(github.event.head_commit.message, '[skip ci]')"
name: Build MATLAB code on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-24.04 ]
steps:
- uses: actions/checkout@v6
- name: Install Octave
run: |
sudo apt -y install --update --no-install-recommends octave-dev
- run: make -C matlab test