-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathaction.yml
More file actions
51 lines (43 loc) · 1.23 KB
/
action.yml
File metadata and controls
51 lines (43 loc) · 1.23 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
name: 'Install Dependencies'
description: 'Install dependencies for the environment'
runs:
using: 'composite'
steps:
- name: Install Custom VCPKG
uses: RealChuan/install-vcpkg@main
- name: Update vcpkg manifest baseline
shell: bash
run: |
vcpkg x-update-baseline
- name: Cache vcpkg
uses: actions/cache@v5
with:
path: ${{ github.workspace }}/build/vcpkg_installed
key: ${{ runner.os }}-vcpkg-installed-${{ github.sha }}
restore-keys: |
${{ runner.os }}-vcpkg-installed-
${{ runner.os }}-
- name: Install dependencies on windows
if: runner.os == 'Windows'
shell: bash
run: |
choco install ninja
ninja --version
cmake --version
- name: Install dependencies on macos
if: runner.os == 'macOS'
shell: bash
run: |
brew install nasm python-setuptools
ninja --version
cmake --version
clang --version
- name: Install dependencies on linux
if: runner.os == 'Linux'
shell: bash
run: |
sudo apt-get update
sudo apt-get install ninja-build clang
ninja --version
cmake --version
gcc --version