-
Notifications
You must be signed in to change notification settings - Fork 0
58 lines (46 loc) · 1.89 KB
/
deploy_windows.yml
File metadata and controls
58 lines (46 loc) · 1.89 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
name: Deploy to Windows
on:
pull_request:
types: [closed]
branches:
- main # Only trigger for PRs merged into main
jobs:
windows_x86_64:
if: github.event.pull_request.merged == true
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Installing Choco
shell: pwsh
run: Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
- name: Install Git
shell: pwsh
run: choco install git
- name: Install Vulkan SDK
uses: humbletim/setup-vulkan-sdk@v1.2.1
with:
vulkan-query-version: 1.4.304.1
vulkan-components: Vulkan-Headers, Vulkan-Loader
vulkan-use-cache: true
- name: Pip installing conan
shell: pwsh
run: pip install conan
- name: Setting up Conan configuration
shell: pwsh
run: |
conan config install https://github.com/engine3d-dev/conan-config.git
conan atlas setup
- name: Creating Release build for vulkan-cpp
shell: pwsh
run: conan atlas create . -s build_type=Release
- name: Creating Debug build for vulkan-cpp
shell: pwsh
run: conan atlas create . -s build_type=Debug
- name: Creating MinSizeRel build for vulkan-cpp
shell: pwsh
run: conan atlas create . -s build_type=MinSizeRel
- name: Login to JFrog
run: conan remote login -p ${{ secrets.JFROG_USER_TOKEN_ID }} engine3d-conan ${{ secrets.JFROG_USERNAME }}
- name: Uploading vulkan-cpp to engine3d-conan remote repositories
shell: pwsh
run: conan upload vulkan-cpp/5.0 --r=engine3d-conan --confirm