mirror of
https://github.com/csd4ni3l/soundboard.git
synced 2026-03-10 09:09:24 +01:00
fix main.yaml incorrect naming for windows exe verify, add wayland & x11 package installs that are needed for on Linux
This commit is contained in:
10
.github/workflows/main.yaml
vendored
10
.github/workflows/main.yaml
vendored
@@ -31,7 +31,13 @@ jobs:
|
|||||||
if: matrix.os == 'ubuntu-22.04'
|
if: matrix.os == 'ubuntu-22.04'
|
||||||
run: |
|
run: |
|
||||||
sudo apt update
|
sudo apt update
|
||||||
sudo apt install mold clang build-essential -y
|
sudo apt install -y build-essential clang cmake pkg-config mold \
|
||||||
|
libwayland-dev libxkbcommon-dev libegl1-mesa-dev \
|
||||||
|
libwayland-egl-backend-dev \
|
||||||
|
libx11-dev libxext-dev libxrandr-dev libxinerama-dev libxcursor-dev \
|
||||||
|
libxi-dev libxfixes-dev libxrender-dev \
|
||||||
|
libfreetype6-dev libfontconfig1-dev libgl1-mesa-dev
|
||||||
|
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
@@ -42,7 +48,7 @@ jobs:
|
|||||||
run: test target/release/soundboard
|
run: test target/release/soundboard
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- name: Locate and rename executable (Windows)
|
- name: Verify executable (Windows)
|
||||||
if: matrix.os == 'windows-latest'
|
if: matrix.os == 'windows-latest'
|
||||||
run: Test-Path target\release\soundboard.exe
|
run: Test-Path target\release\soundboard.exe
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
|
|||||||
Reference in New Issue
Block a user