Merge pull request #960 from w8jcik/fix/pre-snb-intel-gpu #172
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Continuous Build Gpu | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
tags-ignore: | |
- '*.*' | |
paths: | |
- 'src/**' | |
- '!src/osx/**' | |
- '!src/freebsd/**' | |
- '!src/netbsd/**' | |
- '!src/openbsd/**' | |
- 'include/**' | |
- 'Makefile' | |
- '.github/workflows/continuous-build-gpu.yml' | |
pull_request: | |
branches: | |
- main | |
paths: | |
- 'src/**' | |
- '!src/osx/**' | |
- '!src/freebsd/**' | |
- '!src/netbsd/**' | |
- '!src/openbsd/**' | |
- 'include/**' | |
- 'Makefile' | |
- '.github/workflows/continuous-build-gpu.yml' | |
jobs: | |
gpu_build_linux: | |
runs-on: ubuntu-latest | |
container: alpine:edge | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install build tools | |
run: apk add --no-cache --update gcc g++ make linux-headers | |
- name: Compile | |
run: make CXX=g++ GPU_SUPPORT=true | |