Skip to content

Commit

Permalink
ci: Build dependency for Github Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
spencer-lunarg committed Nov 5, 2024
1 parent b78b8d9 commit 9697d82
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright 2023 The Khronos Group Inc.
# Copyright 2023 Valve Corporation
# Copyright 2023 LunarG, Inc.
# Copyright 2023-2024 The Khronos Group Inc.
# Copyright 2023-2024 Valve Corporation
# Copyright 2023-2024 LunarG, Inc.
#
# SPDX-License-Identifier: Apache-2.0

Expand All @@ -14,6 +14,8 @@ on:

jobs:
build_and_test:
# Use chromium as a test build, so don't run this job unless something simple works first
needs: chromium
runs-on: ${{matrix.os}}
strategy:
matrix:
Expand Down Expand Up @@ -43,6 +45,8 @@ jobs:
working-directory: build/

windows-arm64:
# Use chromium as a test build, so don't run this job unless something simple works first
needs: chromium
runs-on: windows-latest
env:
CMAKE_GENERATOR: Ninja
Expand All @@ -56,6 +60,8 @@ jobs:
- run: cmake --install build --prefix build/install

android:
# Use chromium as a test build, so don't run this job unless something simple works first
needs: chromium
runs-on: ubuntu-22.04
strategy:
matrix:
Expand Down Expand Up @@ -90,6 +96,7 @@ jobs:

# Test to ensure we don't accidentally break the Chromium build.
chromium:
needs: generate_source
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit 9697d82

Please sign in to comment.