Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update CI #233

Merged
merged 25 commits into from
May 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/macos_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
fail-fast: false # if a particular matrix build fails, don't skip the rest
matrix:
python-version: [3.7, 3.8, 3.9, '3.10', 3.11]
python-version: [3.8, 3.9, '3.10', 3.11, 3.12]
steps:
- uses: actions/checkout@v4
- name: Install Python
Expand Down
25 changes: 12 additions & 13 deletions .github/workflows/ubuntu_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,22 +13,21 @@ jobs:
strategy:
fail-fast: false # if a particular matrix build fails, don't skip the rest
matrix:
python-version: [3.7, 3.8, 3.9, '3.10', 3.11]
python-version: [3.8, 3.9, '3.10', 3.11, 3.12]
steps:
- uses: actions/checkout@v4
- name: Install Python
run: |
# Add the deadsnakes PPA to install python
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt-get update
sudo apt-get install python${{ matrix.python-version }}-dev
sudo apt-get install python${{ matrix.python-version }}-distutils
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
sudo apt install libsdl2-dev libsdl2-image-dev libsdl2-mixer-dev libsdl2-ttf-dev pkg-config -y
python${{ matrix.python-version }} -m pip install --upgrade pip
python${{ matrix.python-version }} -m pip install wheel
python${{ matrix.python-version }} -m pip install pygame-ce
python${{ matrix.python-version }} -m pip install .
sudo apt-get update
sudo apt-get install -y libsdl2-dev libsdl2-image-dev libsdl2-mixer-dev libsdl2-ttf-dev pkg-config
python -m pip install --upgrade pip
python -m pip install wheel
python -m pip install pygame-ce
python -m pip install .
- name: Run Tests
run: python${{ matrix.python-version }} -m unittest
run: |
python -m unittest
2 changes: 1 addition & 1 deletion .github/workflows/windows_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
fail-fast: false # if a particular matrix build fails, don't skip the rest
matrix:
python-version: [3.7, 3.8, 3.9, '3.10', 3.11]
python-version: [3.8, 3.9, '3.10', 3.11, 3.12]
steps:
- uses: actions/checkout@v4
- name: Install packages
Expand Down
6 changes: 3 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ we are all unpaid-volunteers
See below to see how to build pygame_geometry from source. If you need help, talk to us on [Discord](https://discord.gg/QzmpNXchW5).

## Windows 10 / Windows 11
1. Install Python 3.7+
1. Install Python 3.8+
2. Install [Visual Studio Community 2022](https://visualstudio.microsoft.com/vs/community/) or [Visual Studio Build Tools 2017](https://aka.ms/vs/15/release/vs_buildtools.exe) and make sure you mark `MSVC v140 - VS 2015 C++ build tools (v14.00)` with the installation
3. Run `python -m pip install setuptools -U`
4. Install the latest version of [git](https://gitforwindows.org/)
Expand All @@ -25,7 +25,7 @@ See below to see how to build pygame_geometry from source. If you need help, tal
**If you are having trouble re-compiling, try deleting the `build` folder from the root directory if it exists**

## MacOS
1. Install Python 3.7+
1. Install Python 3.8+
2. Install [HomeBrew](https://brew.sh/)
3. Install dependencies
```
Expand All @@ -36,7 +36,7 @@ brew install sdl2 sdl2_image sdl2_mixer sdl2_ttf pkg-config
6. Run `cd pygame_geometry; python3 -m pip install .`

## Linux (Debian-based Distributions)
1. Install Python 3.7+ (Should be provided in distributions based out of Debian 10 Buster or above)
1. Install Python 3.8+ (Should be provided in distributions based out of Debian 10 Buster or above)
2. Install dependencies
```
sudo apt install libsdl2-dev libsdl2-image-dev libsdl2-mixer-dev libsdl2-ttf-dev pkg-config -y
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ special colliders easier for their video game.
this project is heavily in development.** The project is set to be migrated to the
[official pygame-ce repository](https://github.com/pygame-community/pygame-ce).

## Installation (Python 3.7+)
## Installation (Python 3.8+)
Please follow [this guide](https://github.com/novialriptide/pygame_geometry/blob/main/CONTRIBUTING.md)
to install pygame_geometry.

Expand Down
Loading