Update actions

This commit is contained in:
Milan Nikolic 2024-02-26 09:35:31 +01:00
parent caf96ad1c0
commit cc776abd3b
No known key found for this signature in database
GPG key ID: 9229D0EAA3AA4E75

View file

@ -16,7 +16,7 @@ jobs:
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Install package - name: Install package
run: | run: |
sudo apt-get update -y; sudo apt-get -y install libxi-dev libxinerama-dev libxcursor-dev libxrandr-dev libgl1-mesa-dev sudo apt-get update -y; sudo apt-get -y install libxi-dev libxinerama-dev libxcursor-dev libxrandr-dev libgl1-mesa-dev libwayland-dev libxkbcommon-dev
if: runner.os == 'Linux' if: runner.os == 'Linux'
- name: Build - name: Build
run: go build ./... run: go build ./...
@ -80,26 +80,6 @@ jobs:
run: go build -tags sdl run: go build -tags sdl
working-directory: raylib working-directory: raylib
test-wayland:
strategy:
matrix:
go-version: [1.21.x]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Install Go
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v3
- name: Install package
run: |
sudo apt-get update -y; sudo apt-get -y install libgl1-mesa-dev libwayland-dev libxkbcommon-dev
- name: Build
run: go build -tags wayland
working-directory: raylib
test-examples: test-examples:
strategy: strategy:
matrix: matrix: