Add kvx support [1.3.0] #171
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CMake | |
on: | |
push: | |
branches: ["master"] | |
pull_request: | |
branches: ["master"] | |
jobs: | |
update-package: | |
name: Trigger Package Updates | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Dispatch" | |
uses: peter-evans/repository-dispatch@v2 | |
with: | |
token: ${{ secrets.REGISTRY_TOKEN }} | |
repository: GabeRundlett/vcpkg-registry | |
event-type: update-all | |
client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}"}' | |
build-linux: | |
name: Build Linux | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: lukka/get-cmake@latest | |
- uses: seanmiddleditch/gha-setup-ninja@v3 | |
- name: Setup Vulkan SDK | |
uses: humbletim/setup-vulkan-sdk@v1.2.0 | |
with: | |
vulkan-query-version: latest | |
vulkan-use-cache: true | |
- name: Cache apt-install | |
uses: daaku/gh-action-apt-install@v4 | |
with: | |
packages: build-essential xorg-dev libtinfo5 curl zip unzip tar wayland-protocols libxkbcommon-dev | |
- name: run-vcpkg | |
uses: lukka/run-vcpkg@v10.5 | |
with: | |
vcpkgGitCommitId: 877e3dc2323a4d4c3c75e7168c22a0c4e921d4db | |
- name: Configure CMake Clang | |
run: cmake --preset=clang-x86_64-linux-gnu | |
- name: Build Clang Debug | |
run: cmake --build --preset=clang-x86_64-linux-gnu-debug | |
- name: Build Clang Release | |
run: cmake --build --preset=clang-x86_64-linux-gnu-release | |
- name: Configure CMake GCC | |
run: cmake --preset=gcc-x86_64-linux-gnu | |
- name: Build GCC Debug | |
run: cmake --build --preset=gcc-x86_64-linux-gnu-debug | |
- name: Build GCC Release | |
run: cmake --build --preset=gcc-x86_64-linux-gnu-release | |
build-windows: | |
name: Build Windows | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: microsoft/setup-msbuild@v1.0.2 | |
- uses: lukka/get-cmake@latest | |
- uses: seanmiddleditch/gha-setup-ninja@v3 | |
- name: Setup Vulkan SDK | |
uses: humbletim/setup-vulkan-sdk@v1.2.0 | |
with: | |
vulkan-query-version: latest | |
vulkan-use-cache: true | |
- name: run-vcpkg | |
uses: lukka/run-vcpkg@v10.5 | |
with: | |
vcpkgGitCommitId: 877e3dc2323a4d4c3c75e7168c22a0c4e921d4db | |
# - name: Configure CMake Clang | |
# run: cmake --preset=clang-x86_64-windows-msvc | |
# - name: Build Clang Debug | |
# run: cmake --build --preset=clang-x86_64-windows-msvc-debug | |
# - name: Build Clang Release | |
# run: cmake --build --preset=clang-x86_64-windows-msvc-release | |
- name: Configure CMake CL.exe | |
run: cmake --preset=cl-x86_64-windows-msvc | |
- name: Build CL.exe Debug | |
run: cmake --build --preset=cl-x86_64-windows-msvc-debug | |
- name: Build CL.exe Release | |
run: cmake --build --preset=cl-x86_64-windows-msvc-release |