diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 11f7350..8156a41 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,6 +1,11 @@ name: Build -on: push +on: + push: + branches: + - main + pull_request: + types: [opened, synchronize, reopened] jobs: windows_build: @@ -83,5 +88,25 @@ jobs: with: name: 'Ubuntu 22.04 deb package' path: build/_CPack_Packages/Linux/DEB/*.deb - - + ubuntu_24_04_build: + name: Ubuntu 24.04 Build + runs-on: ubuntu-24.04 + steps: + - name: Checkout + uses: actions/checkout@v4 + with: + submodules: recursive + - name: Compile + run: | + mkdir build + sudo apt update + sudo apt install libasound2-dev libjack-jackd2-dev ladspa-sdk libcurl4-openssl-dev libfreetype6-dev libx11-dev libxcomposite-dev libxcursor-dev libxcursor-dev libxext-dev libxinerama-dev libxrandr-dev libxrender-dev libglu1-mesa-dev mesa-common-dev git cmake + cmake -S . -B build -DBUILD_EXAMPLES=OFF -DBUILD_TESTING=OFF -Wno-dev + cmake --build build --config Release + cd build + cpack -G DEB + - name: 'Upload Ubuntu 24.04 deb package' + uses: actions/upload-artifact@v4 + with: + name: 'Ubuntu 24.04 deb package' + path: build/_CPack_Packages/Linux/DEB/*.deb