Set fail-fast: false
This commit is contained in:
@@ -10,36 +10,32 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
strategy:
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest, ubuntu-24.04-arm, macos-latest, macos-13, windows-latest]
|
os: [ubuntu-latest, ubuntu-24.04-arm, macos-latest, macos-13, windows-latest]
|
||||||
include:
|
include:
|
||||||
- os: ubuntu-latest
|
- os: ubuntu-latest
|
||||||
name: Ubuntu x86_64
|
name: Ubuntu x86_64
|
||||||
arch: x86_64
|
|
||||||
install: sudo apt-get update && sudo apt-get install -y libasound2-dev libgl-dev libglu1-mesa-dev libgtk-3-dev libjack-dev libmad0-dev libpulse-dev libudev-dev libxinerama-dev libx11-dev libxrandr-dev libxtst-dev nasm
|
install: sudo apt-get update && sudo apt-get install -y libasound2-dev libgl-dev libglu1-mesa-dev libgtk-3-dev libjack-dev libmad0-dev libpulse-dev libudev-dev libxinerama-dev libx11-dev libxrandr-dev libxtst-dev nasm
|
||||||
configure: cmake -B build -DWITH_FFMPEG_JOBS="$(nproc)"
|
configure: cmake -B build -DWITH_FFMPEG_JOBS="$(nproc)"
|
||||||
build: cmake --build build --parallel "$(nproc)"
|
build: cmake --build build --parallel "$(nproc)"
|
||||||
- os: ubuntu-24.04-arm
|
- os: ubuntu-24.04-arm
|
||||||
name: Ubuntu ARM
|
name: Ubuntu ARM
|
||||||
arch: arm
|
|
||||||
install: sudo apt-get update && sudo apt-get install -y libasound2-dev libgl-dev libglu1-mesa-dev libgtk-3-dev libjack-dev libmad0-dev libpulse-dev libudev-dev libxinerama-dev libx11-dev libxrandr-dev libxtst-dev nasm
|
install: sudo apt-get update && sudo apt-get install -y libasound2-dev libgl-dev libglu1-mesa-dev libgtk-3-dev libjack-dev libmad0-dev libpulse-dev libudev-dev libxinerama-dev libx11-dev libxrandr-dev libxtst-dev nasm
|
||||||
configure: cmake -B build -DWITH_FFMPEG_JOBS="$(nproc)" -DWITH_MINIMAID=OFF
|
configure: cmake -B build -DWITH_FFMPEG_JOBS="$(nproc)" -DWITH_MINIMAID=OFF
|
||||||
build: cmake --build build --parallel "$(nproc)"
|
build: cmake --build build --parallel "$(nproc)"
|
||||||
- os: macos-latest
|
- os: macos-latest
|
||||||
name: macOS (M1)
|
name: macOS (M1)
|
||||||
arch: arm64
|
|
||||||
install: brew install nasm
|
install: brew install nasm
|
||||||
configure: cmake -B build -DCMAKE_OSX_ARCHITECTURES=arm64 -DWITH_FFMPEG_JOBS="$(sysctl -n hw.logicalcpu)"
|
configure: cmake -B build -DCMAKE_OSX_ARCHITECTURES=arm64 -DWITH_FFMPEG_JOBS="$(sysctl -n hw.logicalcpu)"
|
||||||
build: cmake --build build --parallel "$(sysctl -n hw.logicalcpu)"
|
build: cmake --build build --parallel "$(sysctl -n hw.logicalcpu)"
|
||||||
- os: macos-13
|
- os: macos-13
|
||||||
name: macOS (Intel)
|
name: macOS (Intel)
|
||||||
arch: x86_64
|
|
||||||
install: brew install nasm
|
install: brew install nasm
|
||||||
configure: cmake -B build -DCMAKE_OSX_ARCHITECTURES=x86_64 -DWITH_FFMPEG_JOBS="$(sysctl -n hw.logicalcpu)"
|
configure: cmake -B build -DCMAKE_OSX_ARCHITECTURES=x86_64 -DWITH_FFMPEG_JOBS="$(sysctl -n hw.logicalcpu)"
|
||||||
build: cmake --build build --parallel "$(sysctl -n hw.logicalcpu)"
|
build: cmake --build build --parallel "$(sysctl -n hw.logicalcpu)"
|
||||||
- os: windows-latest
|
- os: windows-latest
|
||||||
name: Windows
|
name: Windows
|
||||||
arch: x64
|
|
||||||
configure: cmake -B build -DWITH_FFMPEG_JOBS="$env:NUMBER_OF_PROCESSORS"
|
configure: cmake -B build -DWITH_FFMPEG_JOBS="$env:NUMBER_OF_PROCESSORS"
|
||||||
build: cmake --build build --parallel "$env:NUMBER_OF_PROCESSORS"
|
build: cmake --build build --parallel "$env:NUMBER_OF_PROCESSORS"
|
||||||
name: ${{ matrix.name }}
|
name: ${{ matrix.name }}
|
||||||
@@ -52,9 +48,9 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
build
|
build
|
||||||
key: ${{ runner.os }}-${{ runner.arch }}-cmake-build-${{ hashFiles('**/CMakeLists.txt', '**/*.cmake') }}
|
key: ${{ runner.os }}-${{ runner.arch }}-cmake-build-ci-${{ hashFiles('**/CMakeLists.txt', '**/*.cmake') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-${{ matrix.arch }}-cmake-build-
|
${{ runner.os }}-${{ runner.arch }}-cmake-build-ci-
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
if: matrix.os != 'windows-latest'
|
if: matrix.os != 'windows-latest'
|
||||||
run: ${{ matrix.install }}
|
run: ${{ matrix.install }}
|
||||||
|
|||||||
@@ -12,12 +12,12 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
strategy:
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest, ubuntu-24.04-arm, macos-latest, windows-latest] # TODO: macos-13
|
os: [ubuntu-latest, ubuntu-24.04-arm, macos-latest, windows-latest] # TODO: macos-13
|
||||||
include:
|
include:
|
||||||
- os: ubuntu-latest
|
- os: ubuntu-latest
|
||||||
name: Ubuntu x86_64
|
name: Ubuntu x86_64
|
||||||
arch: x86_64
|
|
||||||
install: sudo apt-get update && sudo apt-get install -y libasound2-dev libgl-dev libglu1-mesa-dev libgtk-3-dev libjack-dev libmad0-dev libpulse-dev libudev-dev libxinerama-dev libx11-dev libxrandr-dev libxtst-dev nasm
|
install: sudo apt-get update && sudo apt-get install -y libasound2-dev libgl-dev libglu1-mesa-dev libgtk-3-dev libjack-dev libmad0-dev libpulse-dev libudev-dev libxinerama-dev libx11-dev libxrandr-dev libxtst-dev nasm
|
||||||
configure: cmake -B build -DWITH_FFMPEG_JOBS="$(nproc)"
|
configure: cmake -B build -DWITH_FFMPEG_JOBS="$(nproc)"
|
||||||
release: |
|
release: |
|
||||||
@@ -26,16 +26,14 @@ jobs:
|
|||||||
path: build/ITGmania-*-NIGHTLY-git-*-Linux-no-songs.tar.gz
|
path: build/ITGmania-*-NIGHTLY-git-*-Linux-no-songs.tar.gz
|
||||||
- os: ubuntu-24.04-arm
|
- os: ubuntu-24.04-arm
|
||||||
name: Ubuntu ARM
|
name: Ubuntu ARM
|
||||||
arch: arm
|
|
||||||
install: sudo apt-get update && sudo apt-get install -y libasound2-dev libgl-dev libglu1-mesa-dev libgtk-3-dev libjack-dev libmad0-dev libpulse-dev libudev-dev libxinerama-dev libx11-dev libxrandr-dev libxtst-dev nasm
|
install: sudo apt-get update && sudo apt-get install -y libasound2-dev libgl-dev libglu1-mesa-dev libgtk-3-dev libjack-dev libmad0-dev libpulse-dev libudev-dev libxinerama-dev libx11-dev libxrandr-dev libxtst-dev nasm
|
||||||
configure: cmake -B build -DWITH_FFMPEG_JOBS="$(nproc)" -DWITH_MINIMAID=OFF
|
configure: cmake -B build -DWITH_FFMPEG_JOBS="$(nproc)"
|
||||||
release: |
|
release: |
|
||||||
cmake -B build -DCMAKE_BUILD_TYPE=Release -DWITH_FULL_RELEASE=Off -DWITH_NIGHTLY_RELEASE=On -DWITH_CLUB_FANTASTIC=Off
|
cmake -B build -DCMAKE_BUILD_TYPE=Release -DWITH_FULL_RELEASE=Off -DWITH_NIGHTLY_RELEASE=On -DWITH_CLUB_FANTASTIC=Off -DWITH_MINIMAID=Off
|
||||||
cmake --build build --target package
|
cmake --build build --target package
|
||||||
path: build/ITGmania-*-NIGHTLY-git-*-Linux-no-songs.tar.gz
|
path: build/ITGmania-*-NIGHTLY-git-*-Linux-no-songs.tar.gz
|
||||||
- os: macos-latest
|
- os: macos-latest
|
||||||
name: macOS (M1)
|
name: macOS (M1)
|
||||||
arch: arm64
|
|
||||||
install: brew install nasm
|
install: brew install nasm
|
||||||
configure: cmake -B build -DCMAKE_OSX_ARCHITECTURES=arm64 -DWITH_FFMPEG_JOBS="$(sysctl -n hw.logicalcpu)"
|
configure: cmake -B build -DCMAKE_OSX_ARCHITECTURES=arm64 -DWITH_FFMPEG_JOBS="$(sysctl -n hw.logicalcpu)"
|
||||||
release: |
|
release: |
|
||||||
@@ -44,7 +42,6 @@ jobs:
|
|||||||
path: build/ITGmania-*-NIGHTLY-git-*-macOS-M1-no-songs.dmg
|
path: build/ITGmania-*-NIGHTLY-git-*-macOS-M1-no-songs.dmg
|
||||||
- os: windows-latest
|
- os: windows-latest
|
||||||
name: Windows
|
name: Windows
|
||||||
arch: x64
|
|
||||||
configure: cmake -B build -DWITH_FFMPEG_JOBS="$env:NUMBER_OF_PROCESSORS"
|
configure: cmake -B build -DWITH_FFMPEG_JOBS="$env:NUMBER_OF_PROCESSORS"
|
||||||
release: |
|
release: |
|
||||||
cmake -B build -DWITH_FULL_RELEASE=Off -DWITH_NIGHTLY_RELEASE=On -DWITH_CLUB_FANTASTIC=Off
|
cmake -B build -DWITH_FULL_RELEASE=Off -DWITH_NIGHTLY_RELEASE=On -DWITH_CLUB_FANTASTIC=Off
|
||||||
@@ -61,9 +58,9 @@ jobs:
|
|||||||
path: |
|
path: |
|
||||||
build/*
|
build/*
|
||||||
!${{ matrix.path }}
|
!${{ matrix.path }}
|
||||||
key: ${{ runner.os }}-${{ matrix.arch }}-cmake-build-${{ hashFiles('**/CMakeLists.txt', '**/*.cmake') }}
|
key: ${{ runner.os }}-${{ runner.arch }}-cmake-build-nightly-${{ hashFiles('**/CMakeLists.txt', '**/*.cmake') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-${{ matrix.arch }}-cmake-build-
|
${{ runner.os }}-${{ runner.arch }}-cmake-build-nightly-
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
if: matrix.os != 'windows-latest'
|
if: matrix.os != 'windows-latest'
|
||||||
run: ${{ matrix.install }}
|
run: ${{ matrix.install }}
|
||||||
|
|||||||
Reference in New Issue
Block a user