update for raylib 5.5 #9
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: Test | |
on: | |
push: | |
branches: [ "pu" ] | |
pull_request: | |
branches: [ "pu" ] | |
workflow_dispatch: | |
jobs: | |
test: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
perl-version: ['5.38', '5.40'] | |
runs-on: ${{ matrix.os }} | |
name: Perl ${{ matrix.perl-version }} on ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: shogo82148/actions-setup-perl@v1 | |
with: | |
perl-version: ${{ matrix.perl-version }} | |
- name: Install System Dependencies (Linux) | |
if: runner.os == 'Linux' | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y build-essential libssl-dev zlib1g-dev | |
sudo apt-get install -y libasound2-dev \ | |
libx11-dev \ | |
libxrandr-dev \ | |
libxi-dev \ | |
libgl1-mesa-dev \ | |
libglu1-mesa-dev \ | |
libxcursor-dev \ | |
libxinerama-dev \ | |
libwayland-dev \ | |
libxkbcommon-dev | |
- name: Install Alien-raylib5 | |
uses: perl-actions/[email protected] | |
with: | |
install: https://github.com/perigrin/Alien-raylib5.git | |
verbose: true | |
# as of right now 6.2 doesn't pass tests so we install it by hand | |
- name: Install Module::Pluggable | |
uses: perl-actions/[email protected] | |
with: | |
install: Module::Pluggable | |
tests: false | |
- name: Build and Test | |
uses: perl-actions/[email protected] | |
with: | |
install: . | |
local-lib: "./local" | |
tests: true | |
verbose: true | |