Add Wextra to clang compilation #10
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: build | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install packages | |
run: | | |
sudo apt update | |
sudo apt -y install build-essential git libasound2-dev libx11-dev libxrandr-dev libxi-dev libgl1-mesa-dev libglu1-mesa-dev libxcursor-dev libxinerama-dev | |
git clone https://github.com/raysan5/raylib.git raylib | |
cd raylib/src/ | |
make PLATFORM=PLATFORM_DESKTOP RAYLIB_LIBTYPE=SHARED | |
sudo make install RAYLIB_LIBTYPE=SHARED | |
- name: make build | |
run: make build | |
#- name: make test | |
# run: make test |