Update main.yml

This commit is contained in:
Richard Smith 2021-06-28 11:34:19 +01:00 committed by GitHub
parent 42be782d36
commit 35e8654826
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,6 @@
# This is a basic workflow to help you get started with Actions # This is a basic workflow to help you get started with Actions
name: CI name: Linux x64 Python 3.9
# Controls when the workflow will run # Controls when the workflow will run
on: on:
@ -37,10 +37,16 @@ jobs:
# Runs a set of commands using the runners shell # Runs a set of commands using the runners shell
- name: Build raylib - name: Build raylib
run: | run: |
sudo apt update
sudo apt install libasound2-dev mesa-common-dev libx11-dev libxrandr-dev libxi-dev xorg-dev libgl1-mesa-dev libglu1-mesa-dev sudo apt install libasound2-dev mesa-common-dev libx11-dev libxrandr-dev libxi-dev xorg-dev libgl1-mesa-dev libglu1-mesa-dev
cd raylib-c cd raylib-c
mkdir build mkdir build
cd build cd build
cmake -DWITH_PIC=on -DCMAKE_BUILD_TYPE=Release .. cmake -DWITH_PIC=on -DCMAKE_BUILD_TYPE=Release ..
sudo make install sudo make install
- name: Build raylib-python-cffi
run: |
pip3 install cffi
pip3 install wheel
python setup.py bdist_wheel --plat-name manylinux2014_x86_64