-
Notifications
You must be signed in to change notification settings - Fork 3
55 lines (47 loc) · 1.41 KB
/
linux.yml
File metadata and controls
55 lines (47 loc) · 1.41 KB
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
50
51
52
53
54
55
name: Linux
on: push
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Add historical Ubuntu repository for robodoc
run: |
# Ubuntu 11.10 (Oneiric Ocelot) is the last release to contain robodoc
# The keys are long expired, so we need to use [trusted=yes]
echo "deb [trusted=yes] http://old-releases.ubuntu.com/ubuntu/ oneiric universe" | sudo tee /etc/apt/sources.list.d/precise.list
sudo apt-get update
- name: Install dependencies
run: >-
sudo DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y
build-essential
autoconf
automake
libtool
gcc
gfortran
libnetcdff-dev
python-is-python3
robodoc
- name: Configure etsf-io
run: |
bash -e autogen.sh
mkdir build/
cd build/
../configure
make -j V=1
env:
FFLAGS: "-O0 -g3 -fno-omit-frame-pointer -fsanitize=address"
LDFLAGS: "-fsanitize=address"
- name: Compile etsf-io
working-directory: build/
run: |
make -j V=1
- name: Test etsf-io
working-directory: build/
run: |
make -j check V=1
- uses: actions/upload-artifact@v4
if: always()
with:
path: build/config.log