File tree Expand file tree Collapse file tree 6 files changed +54
-0
lines changed Expand file tree Collapse file tree 6 files changed +54
-0
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,9 @@ name: linux-clang-14
2
2
3
3
on : [ pull_request ]
4
4
5
+ env :
6
+ VCPKG_BINARY_SOURCES : " clear;x-gha,readwrite"
7
+
5
8
jobs :
6
9
linux-clang-14 :
7
10
runs-on : ubuntu-latest
11
14
with :
12
15
submodules : recursive
13
16
fetch-depth : 0
17
+ - name : Export GitHub Actions cache environment variables
18
+ uses : actions/github-script@v7
19
+ with :
20
+ script : |
21
+ core.exportVariable('ACTIONS_CACHE_URL', process.env.ACTIONS_CACHE_URL || '');
22
+ core.exportVariable('ACTIONS_RUNTIME_TOKEN', process.env.ACTIONS_RUNTIME_TOKEN || '');
14
23
- name : Run vcpkg
15
24
uses : lukka/run-vcpkg@v11
16
25
- uses : KyleMayes/install-llvm-action@v1
Original file line number Diff line number Diff line change @@ -2,6 +2,9 @@ name: linux-clang-16
2
2
3
3
on : [ pull_request ]
4
4
5
+ env :
6
+ VCPKG_BINARY_SOURCES : " clear;x-gha,readwrite"
7
+
5
8
jobs :
6
9
linux-clang-16 :
7
10
runs-on : ubuntu-latest
11
14
with :
12
15
submodules : recursive
13
16
fetch-depth : 0
17
+ - name : Export GitHub Actions cache environment variables
18
+ uses : actions/github-script@v7
19
+ with :
20
+ script : |
21
+ core.exportVariable('ACTIONS_CACHE_URL', process.env.ACTIONS_CACHE_URL || '');
22
+ core.exportVariable('ACTIONS_RUNTIME_TOKEN', process.env.ACTIONS_RUNTIME_TOKEN || '');
14
23
- name : Run vcpkg
15
24
uses : lukka/run-vcpkg@v11
16
25
- uses : KyleMayes/install-llvm-action@v1
Original file line number Diff line number Diff line change @@ -2,6 +2,9 @@ name: linux-gcc
2
2
3
3
on : [ pull_request ]
4
4
5
+ env :
6
+ VCPKG_BINARY_SOURCES : " clear;x-gha,readwrite"
7
+
5
8
jobs :
6
9
linux-gcc :
7
10
runs-on : ubuntu-latest
11
14
with :
12
15
submodules : recursive
13
16
fetch-depth : 0
17
+ - name : Export GitHub Actions cache environment variables
18
+ uses : actions/github-script@v7
19
+ with :
20
+ script : |
21
+ core.exportVariable('ACTIONS_CACHE_URL', process.env.ACTIONS_CACHE_URL || '');
22
+ core.exportVariable('ACTIONS_RUNTIME_TOKEN', process.env.ACTIONS_RUNTIME_TOKEN || '');
14
23
- name : Run vcpkg
15
24
uses : lukka/run-vcpkg@v11
16
25
- name : install dependencies
Original file line number Diff line number Diff line change @@ -2,6 +2,9 @@ name: macos-clang-arm
2
2
3
3
on : [ pull_request ]
4
4
5
+ env :
6
+ VCPKG_BINARY_SOURCES : " clear;x-gha,readwrite"
7
+
5
8
jobs :
6
9
macos-clang-arm :
7
10
runs-on : macos-latest
11
14
with :
12
15
submodules : recursive
13
16
fetch-depth : 0
17
+ - name : Export GitHub Actions cache environment variables
18
+ uses : actions/github-script@v7
19
+ with :
20
+ script : |
21
+ core.exportVariable('ACTIONS_CACHE_URL', process.env.ACTIONS_CACHE_URL || '');
22
+ core.exportVariable('ACTIONS_RUNTIME_TOKEN', process.env.ACTIONS_RUNTIME_TOKEN || '');
14
23
- name : Run vcpkg
15
24
uses : lukka/run-vcpkg@v11
16
25
- name : Install ninja
Original file line number Diff line number Diff line change @@ -2,6 +2,9 @@ name: macos-clang-x64
2
2
3
3
on : [ pull_request ]
4
4
5
+ env :
6
+ VCPKG_BINARY_SOURCES : " clear;x-gha,readwrite"
7
+
5
8
jobs :
6
9
macos-clang-x64 :
7
10
runs-on : macos-13
11
14
with :
12
15
submodules : recursive
13
16
fetch-depth : 0
17
+ - name : Export GitHub Actions cache environment variables
18
+ uses : actions/github-script@v7
19
+ with :
20
+ script : |
21
+ core.exportVariable('ACTIONS_CACHE_URL', process.env.ACTIONS_CACHE_URL || '');
22
+ core.exportVariable('ACTIONS_RUNTIME_TOKEN', process.env.ACTIONS_RUNTIME_TOKEN || '');
14
23
- name : Run vcpkg
15
24
uses : lukka/run-vcpkg@v11
16
25
- name : Compile
Original file line number Diff line number Diff line change @@ -2,6 +2,9 @@ name: windows-msvc
2
2
3
3
on : [ pull_request ]
4
4
5
+ env :
6
+ VCPKG_BINARY_SOURCES : " clear;x-gha,readwrite"
7
+
5
8
jobs :
6
9
windows-msvc :
7
10
runs-on : windows-latest
11
14
with :
12
15
submodules : recursive
13
16
fetch-depth : 0
17
+ - name : Export GitHub Actions cache environment variables
18
+ uses : actions/github-script@v7
19
+ with :
20
+ script : |
21
+ core.exportVariable('ACTIONS_CACHE_URL', process.env.ACTIONS_CACHE_URL || '');
22
+ core.exportVariable('ACTIONS_RUNTIME_TOKEN', process.env.ACTIONS_RUNTIME_TOKEN || '');
14
23
- uses : ilammy/msvc-dev-cmd@v1
15
24
- uses : lukka/run-vcpkg@v11
16
25
- name : Compile
You can’t perform that action at this time.
0 commit comments