xref: /Universal-ctags/.github/workflows/testing-alpine.yml (revision 62d489a32b0d5c6a75cfb39955a9f01e8320fa39)
1name: run units target on AlpineLinux
2
3on:
4  push:
5    branches: [ master ]
6  pull_request:
7    branches: [ master ]
8
9jobs:
10  testing:
11    strategy:
12      fail-fast: false
13      matrix:
14        tag: ['3.15','3.14','3.12','3.13']
15
16    runs-on: ubuntu-20.04
17
18    container: alpine:${{ matrix.tag }}
19
20    steps:
21      - run: apk add libc-dev gcc make automake autoconf pkgconf python3 file diffutils git
22
23      # this is to fix https://github.com/actions/checkout/issues/760
24      - run: git config --global --add safe.directory /__w/ctags/ctags
25
26      - uses: actions/checkout@v2
27
28      - run: cc --version
29
30      - run: ./autogen.sh
31      - run: ./configure --prefix=/usr
32      - run: make
33      - run: make install
34      - run: file /usr/bin/ctags
35      - run: ctags --version
36      - run: make check V=1
37      - run: make roundtrip
38