aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/linux_gcc_4_8.yml
blob: 1f37785ccfa6b9a477b699c127dc98d93449ee1b (plain)
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
name: Linux GCC 4.8

on: [push, pull_request]

jobs:

  linux_gcc_4_8:
    runs-on: ubuntu-latest
    if: "!contains(github.event.head_commit.message, '[ci skip]') && !contains(github.event.head_commit.message, '[skip ci]')"
    steps:
      - name: Checkout
        uses: actions/checkout@v2

      - name: Cache
        uses: actions/cache@v2
        id: cache
        with:
          path: |
                ${{ github.workspace }}/ccache.tar.gz
          key: ${{ runner.os }}-cache-gcc-4-8-${{ github.run_id }}
          restore-keys: ${{ runner.os }}-cache-gcc-4-8-

      - name: Run
        run: docker run -e CI -e WORK_DIR="$PWD" -v $PWD:$PWD ubuntu:16.04 $PWD/.github/workflows/linux_gcc_4_8/start.sh

      - name: Coveralls
        uses: coverallsapp/github-action@v1.1.2
        with:
            github-token: ${{ secrets.GITHUB_TOKEN }}