1
0
Fork 0
nvme-cli/.github/workflows/c-cpp.yml

19 lines
512 B
YAML
Raw Normal View History

gname: C/C++ CI
on:
push:
branches: [ master nvme-cli-monolithic ]
pull_request:
branches: [ master nvme-cli-monolithic ]
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/'