diff options
| author | Ray <[email protected]> | 2021-03-08 19:09:22 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-03-08 19:09:22 +0100 |
| commit | 955d4d3d1a38d5498ac732e2a128a649ec4d5866 (patch) | |
| tree | d35fc19425db8d8503dee913f6e061a204591bc2 /.github | |
| parent | 8a30a2408c992774f42b55cd62e651c770b07eea (diff) | |
| download | raylib-955d4d3d1a38d5498ac732e2a128a649ec4d5866.tar.gz raylib-955d4d3d1a38d5498ac732e2a128a649ec4d5866.zip | |
Create linux_examples.yml
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/linux_examples.yml | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/.github/workflows/linux_examples.yml b/.github/workflows/linux_examples.yml new file mode 100644 index 00000000..c268f479 --- /dev/null +++ b/.github/workflows/linux_examples.yml @@ -0,0 +1,32 @@ +name: Linux Examples + +on: + push: + pull_request: + branches: [ master ] + paths: + - 'examples/**' + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Setup Environment + run: | + sudo apt-get update -qq + sudo apt-get install -y --no-install-recommends libglfw3 libglfw3-dev libx11-dev libxcursor-dev libxrandr-dev libxinerama-dev libxi-dev libxext-dev libxfixes-dev + + - name: Build Library + run: | + cd src + make PLATFORM=PLATFORM_DESKTOP CC=gcc RAYLIB_LIBTYPE=STATIC + cd .. + + - name: Build Examples + run: | + cd examples + make PLATFORM=PLATFORM_DESKTOP -B + cd .. |
