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: Build dependency for Github Actions #246

Merged
merged 1 commit into from
Nov 5, 2024
Merged
Changes from all commits
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
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