summaryrefslogtreecommitdiffstats
path: root/.github/workflows/c-cpp.yml
blob: d2f94e95bbad9d057e1427fe7cafaefbc6aba29b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
name: C/C++ CI

on:
  push:
    branches: [ master ]
  pull_request:
    branches: [ master ]

jobs:
  build:

    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v2
    - name: make
      run: sudo apt-get install gcc-10-powerpc* && make clean && make && make clean && make LD=powerpc64le-linux-gnu-ld CC=powerpc64le-linux-gnu-gcc-10 CFLAGS='-O2 -g -Wall -Wformat-security -Werror -m64 -mcpu=power8 -mtune=power8 -I -I/usr/powerpc64-linux-gnu/include/'