-
Notifications
You must be signed in to change notification settings - Fork 4
49 lines (43 loc) · 1.06 KB
/
linux_test.yml
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
49
# Based on https://github.com/actions-rs/meta/blob/master/recipes/quickstart.md
on:
push:
tags-ignore:
- '**'
branches:
- '**'
pull_request:
name: Linux Tests
jobs:
test:
strategy:
matrix:
os:
- "ubuntu-20.04"
- "ubuntu-22.04"
feature_set:
- "_no_flag"
- ""
runs-on: "${{ matrix.os }}"
steps:
- name: Checkout sources
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install cargo-make
uses: actions-rs/cargo@v1
with:
command: install
args: --debug cargo-make
- name: Install deps
uses: actions-rs/cargo@v1
with:
command: make
# if aoflagger not enabled, you only need cfitsio
args: install_deps${{ matrix.feature_set }}
- name: Run tests
uses: actions-rs/cargo@v1
with:
command: make
args: test${{ matrix.feature_set }}
env:
LD_LIBRARY_PATH: /usr/local/lib/:/usr/lib/x86_64-linux-gnu/