Skip to content

Commit

Permalink
Fix CI (#20)
Browse files Browse the repository at this point in the history
* pyopengl as dep

* conda in ci to install freeglut

* conda

* mesa

* macos-13 instead of macos-latest

* glfw

* additional deps

* conda cpath

* glu

* cpath before

* other deps

* pyopengl

* osmesa

* mesa

* drop windows

* drop macos

* drop libx11

* downgrade ypopengl

* apt install

* simlink

* build

* perfix

* include

* sudo

* additional deps

* drop simlink

* drop

* libosmesa

* opengl

* python3-opengl

* remove cos6

* remove osmesa

* remove glfw3

* remove cos7

* remove glfw

* remove libglu

* remove mesalib

* remove glew

* remove freeglut

* remove deps from mujoco

* apt update

* remove export

* remove conda install pip

* remove ffmpeg

* remove libsm6 libxext6

* remove python3-opengl

* conda

* prefix

* cp

* apt libosmesa
  • Loading branch information
qgallouedec authored Jun 12, 2024
1 parent bf9cce4 commit 1b02574
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 deletions.
17 changes: 12 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,29 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
os: [ubuntu-latest]
python-version: ['3.8', '3.9', '3.10', '3.11']
env:
MUJOCO_GL: osmesa
DISPLAY: ":0"
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5

- name: Set up Miniconda
uses: conda-incubator/setup-miniconda@v3
with:
auto-update-conda: true
python-version: ${{ matrix.python-version }}
activate-environment: test-env

- name: Install dependencies
run: |
python -m pip install --upgrade pip
sudo apt-get update
sudo apt-get install -y libosmesa6
pip install --upgrade pip
pip install -e .
pip install pytest
- name: Test with pytest
run: |
pytest
pytest
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
author="Julien Perez",
author_email="julien.perez@epita.fr",
packages=find_packages(),
install_requires=["gymnasium>=0.29", "mujoco>=3.0"],
install_requires=["gymnasium>=0.29", "mujoco>=3.0", "PyOpenGL==3.1.1a1"],
)

0 comments on commit 1b02574

Please sign in to comment.