Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Add continuous_integration dependency #3785

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 13 additions & 2 deletions .github/workflows/continuous_integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ permissions: read-all

jobs:
linux:
needs: linux-shared # fastest job to do sanity check
runs-on: ubuntu-22.04
strategy:
fail-fast: false
Expand Down Expand Up @@ -78,6 +79,7 @@ jobs:
run: ctest --output-on-failure --test-dir build

linux-asan:
needs: linux-shared # fastest job to do sanity check
runs-on: ubuntu-22.04
strategy:
fail-fast: false
Expand Down Expand Up @@ -149,13 +151,15 @@ jobs:
run: ctest --output-on-failure --test-dir build

macos:
# iOS is 10x expensive to run on GitHub machines, so only run if we know something else passed as well
needs: windows-shared
runs-on: ${{matrix.os}}
strategy:
fail-fast: false
matrix:
os: [macos-14, macos-13]
os: [macos-14]
spencer-lunarg marked this conversation as resolved.
Show resolved Hide resolved
compiler: [{cc: clang, cxx: clang++}, {cc: gcc, cxx: g++}]
spencer-lunarg marked this conversation as resolved.
Show resolved Hide resolved
cmake_build_type: [Debug, Release]
cmake_build_type: [Release]
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: lukka/get-cmake@b516803a3c5fac40e2e922349d15cdebdba01e60 # v3.30.5
Expand All @@ -169,6 +173,8 @@ jobs:
- run: ctest --output-on-failure --test-dir build

macos-shared:
# iOS is 10x expensive to run on GitHub machines, so only run if we know something else passed as well
needs: windows-shared
runs-on: ${{matrix.os}}
strategy:
fail-fast: false
Expand All @@ -189,6 +195,7 @@ jobs:
- run: ctest --output-on-failure --test-dir build

windows:
needs: linux-shared # fastest job to do sanity check
runs-on: ${{matrix.os.genus}}
permissions:
contents: write
Expand All @@ -212,6 +219,7 @@ jobs:
run: ctest -C ${{matrix.cmake_build_type}} --output-on-failure --test-dir build

windows-shared:
needs: linux-shared # fastest job to do sanity check
runs-on: ${{matrix.os.genus}}
permissions:
contents: write
Expand All @@ -236,6 +244,8 @@ jobs:
# run: ctest -C ${{matrix.cmake_build_type}} --output-on-failure --test-dir build

iOS:
# iOS is 10x expensive to run on GitHub machines, so only run if we know something else passed as well
needs: windows-shared
runs-on: macos-13
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
Expand All @@ -260,6 +270,7 @@ jobs:
- run: cmake --install build --prefix /tmp

android:
needs: linux-shared # fastest job to do sanity check
runs-on: ubuntu-22.04
strategy:
matrix:
Expand Down