diff --git a/.github/workflows/bsd.yml b/.github/workflows/bsd.yml index e7529836b7..2085f4b5f6 100644 --- a/.github/workflows/bsd.yml +++ b/.github/workflows/bsd.yml @@ -1,5 +1,9 @@ name: BSDs -on: push +on: [push,pull_request] + +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true jobs: build_bsd: diff --git a/.github/workflows/builds.yaml b/.github/workflows/builds.yaml index 779bc5287d..6e967809ba 100644 --- a/.github/workflows/builds.yaml +++ b/.github/workflows/builds.yaml @@ -1,6 +1,10 @@ name: Linux distro build on: [push,pull_request] +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + jobs: fedora: name: Fedora (latest) diff --git a/.github/workflows/continuous.yaml b/.github/workflows/continuous.yaml index 60e21c82c3..a39b5f3420 100644 --- a/.github/workflows/continuous.yaml +++ b/.github/workflows/continuous.yaml @@ -1,9 +1,13 @@ name: Continuous build on: [push,pull_request] +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + jobs: tarball: - name: Tarball + name: Tarball runs-on: ubuntu-latest steps: - name: Checkout code @@ -44,7 +48,7 @@ jobs: staging/*.* appimage: - name: AppImage + name: AppImage runs-on: ubuntu-latest steps: - name: Checkout code @@ -154,7 +158,7 @@ jobs: win32: - name: Windows + name: Windows runs-on: windows-latest steps: - name: Checkout code diff --git a/.github/workflows/debian-builds.yaml b/.github/workflows/debian-builds.yaml index a5d07ff639..d271ec8aa0 100644 --- a/.github/workflows/debian-builds.yaml +++ b/.github/workflows/debian-builds.yaml @@ -1,6 +1,10 @@ name: Debian build on: [push,pull_request] +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + jobs: debian: name: Debian diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index 2a1e003634..d56478bd2b 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -1,5 +1,9 @@ name: Documentation build +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + on: push: branches: diff --git a/.github/workflows/embedded.yaml b/.github/workflows/embedded.yaml index 7a6b0db782..32ffebb3a7 100644 --- a/.github/workflows/embedded.yaml +++ b/.github/workflows/embedded.yaml @@ -1,6 +1,10 @@ name: Embedded build on: [push,pull_request] +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + jobs: # rpi: # name: RaspberryPi @@ -172,7 +176,7 @@ jobs: # run: | # sudo apt-get -y -qq install crossbuild-essential-armhf cmake gettext file ninja-build libc6-armhf-cross qt6-base-dev libqt6serialport6-dev libqt6websockets6-dev libqt6shadertools6-dev qt6-scxml-dev libpcre2-16-0 qt6-declarative-dev # sudo ln -s /usr/arm-linux-gnueabihf/lib/ld-linux-armhf.so.3 /usr/lib/ld-linux-armhf.so.3 -# +# # - name: Use host Qt tools # shell: bash # run: | diff --git a/.github/workflows/flatpak.yml b/.github/workflows/flatpak.yml index b68545e0c8..05a299ff2b 100644 --- a/.github/workflows/flatpak.yml +++ b/.github/workflows/flatpak.yml @@ -1,6 +1,10 @@ name: Flatpak on: [push,pull_request] +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + jobs: flatpak: name: "Flatpak" diff --git a/.github/workflows/mac-builds.yaml b/.github/workflows/mac-builds.yaml index a6660fc55b..f59810c7bf 100644 --- a/.github/workflows/mac-builds.yaml +++ b/.github/workflows/mac-builds.yaml @@ -1,12 +1,16 @@ name: macOS build on: [push,pull_request] +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + jobs: brew: # Last X86 macos version supported by GH Actions name: macOS (Release, Brew, Intel) runs-on: macos-13 - + steps: - name: Checkout code uses: actions/checkout@v4 @@ -28,7 +32,7 @@ jobs: brew-m1: name: macOS (Release, Brew, AppleSilicon) runs-on: macos-15 - + steps: - name: Checkout code uses: actions/checkout@v4 @@ -50,7 +54,7 @@ jobs: brew-m1-dev: name: macOS (Dev, Brew, AppleSilicon) runs-on: macos-15 - + steps: - name: Checkout code uses: actions/checkout@v4 @@ -93,7 +97,7 @@ jobs: with: p12-file-base64: ${{ secrets.MAC_CERT_B64 }} p12-password: ${{ secrets.MAC_CERT_PASSWORD }} - + - run: | source ci/osx-package.build.sh env: diff --git a/.github/workflows/nix-builds.yaml b/.github/workflows/nix-builds.yaml index 7f2316bf4e..21005c889b 100644 --- a/.github/workflows/nix-builds.yaml +++ b/.github/workflows/nix-builds.yaml @@ -1,6 +1,10 @@ name: Nix build on: [push,pull_request] +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + jobs: nix: name: Nix diff --git a/.github/workflows/templates.yaml b/.github/workflows/templates.yaml index 74ff78a9b9..728f35421b 100644 --- a/.github/workflows/templates.yaml +++ b/.github/workflows/templates.yaml @@ -1,6 +1,10 @@ name: Template check on: [push,pull_request] +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + jobs: init_template: name: Template generation diff --git a/.github/workflows/ubuntu-builds.yaml b/.github/workflows/ubuntu-builds.yaml index 3e79ddcda5..7918672b85 100644 --- a/.github/workflows/ubuntu-builds.yaml +++ b/.github/workflows/ubuntu-builds.yaml @@ -1,9 +1,13 @@ name: Ubuntu build on: [push,pull_request] +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + jobs: ubuntu: - name: Ubuntu + name: Ubuntu runs-on: ubuntu-latest strategy: @@ -19,7 +23,7 @@ jobs: container: image: ubuntu:${{ matrix.distro }} - + steps: - name: Install git run: | @@ -49,7 +53,7 @@ jobs: - name: Upload build uses: actions/upload-artifact@v4 - if: matrix.deploy + if: matrix.deploy with: name: ${{ matrix.distro }}-amd64 path: | diff --git a/.github/workflows/wasm.yaml b/.github/workflows/wasm.yaml index d09acca0ab..225bf18762 100644 --- a/.github/workflows/wasm.yaml +++ b/.github/workflows/wasm.yaml @@ -1,6 +1,10 @@ name: WASM on: [push,pull_request] +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + jobs: wasm: name: WebAssembly diff --git a/.github/workflows/win-builds.yaml b/.github/workflows/win-builds.yaml index 92d43025d1..fb0cf2e76e 100644 --- a/.github/workflows/win-builds.yaml +++ b/.github/workflows/win-builds.yaml @@ -1,6 +1,10 @@ name: Windows build on: [push,pull_request] +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + jobs: winstore: name: Windows (store) diff --git a/ci/wasm.build.sh b/ci/wasm.build.sh index 1f0be1162a..c15af0c02f 100755 --- a/ci/wasm.build.sh +++ b/ci/wasm.build.sh @@ -17,6 +17,7 @@ source /opt/ossia-sdk-wasm/emsdk/emsdk_env.sh -DKFR_ARCH=sse41 \ -DOSSIA_PCH=0 \ -DSCORE_PCH=0 \ + -DCMAKE_CXX_SCAN_FOR_MODULES=0 \ -DOSSIA_SDK=/opt/ossia-sdk-wasm/ \ -DCMAKE_C_FLAGS='-pthread -O3 -ffast-math -msimd128 -msse -msse2 -msse3 -mssse3 -msse4 -msse4.1 -msse4.2 ' \ -DCMAKE_CXX_FLAGS='-DBOOST_ASIO_DISABLE_EPOLL=1 -pthread -O3 -ffast-math -msimd128 -msse -msse2 -msse3 -mssse3 -msse4 -msse4.1 -msse4.2 ' \