File tree Expand file tree Collapse file tree 5 files changed +21
-6
lines changed Expand file tree Collapse file tree 5 files changed +21
-6
lines changed Original file line number Diff line number Diff line change 19
19
- name : Install Dependencies
20
20
run : |
21
21
sudo apt-get update
22
- sudo apt-get install -yq libgtest-dev libboost-program-options-dev rapidjson-dev ninja-build gcc-10 g++-10
22
+ sudo apt-get install -yq libgtest-dev libboost-program-options-dev rapidjson-dev ninja-build gcc-14 g++-14
23
23
24
24
- name : Build GTest
25
25
run : |
35
35
- name : Configure CMake
36
36
shell : pwsh
37
37
env :
38
- CC : gcc-10
39
- CXX : g++-10
38
+ CC : gcc-14
39
+ CXX : g++-14
40
40
working-directory : build/
41
41
run : |
42
42
$cmakeBuildType = '${{ matrix.config }}'
Original file line number Diff line number Diff line change 9
9
matrix :
10
10
config : [Debug, Release]
11
11
12
- runs-on : macos-13
12
+ runs-on : macos-latest
13
13
14
14
steps :
15
15
- uses : actions/checkout@v4.1.3
16
16
with :
17
17
submodules : true
18
+ - uses : seanmiddleditch/gha-setup-ninja@96bed6edff20d1dd61ecff9b75cc519d516e6401
18
19
19
20
- name : Cache vcpkg
20
21
uses : actions/cache@v4.0.2
31
32
32
33
- name : Configure
33
34
shell : pwsh
35
+ env :
36
+ VCPKG_ROOT : ${{ github.workspace }}/vcpkg
34
37
working-directory : build/
35
38
run : |
36
- $vcpkgToolchain = Join-Path $env:VCPKG_INSTALLATION_ROOT './scripts/buildsystems/vcpkg.cmake' -Resolve
39
+ & "${env:VCPKG_ROOT}/bootstrap-vcpkg.sh"
40
+ & "${env:VCPKG_ROOT}/vcpkg integrate install"
41
+
42
+ $vcpkgToolchain = Join-Path $env:VCPKG_ROOT './scripts/buildsystems/vcpkg.cmake' -Resolve
37
43
$cmakeBuildType = '${{ matrix.config }}'
38
44
39
45
$cachedBinaries = Join-Path $(Get-Location) './vcpkg_cache/' -Resolve
Original file line number Diff line number Diff line change 38
38
39
39
- name : Configure
40
40
shell : pwsh
41
+ env :
42
+ VCPKG_ROOT : ${{ github.workspace }}\vcpkg
41
43
working-directory : build/
42
44
run : |
43
- $vcpkgToolchain = Join-Path $env:VCPKG_INSTALLATION_ROOT '.\scripts\buildsystems\vcpkg.cmake' -Resolve
45
+ & "${env:VCPKG_ROOT}/bootstrap-vcpkg.bat"
46
+ & "${env:VCPKG_ROOT}/vcpkg" integrate install
47
+
48
+ $vcpkgToolchain = Join-Path $env:VCPKG_ROOT './scripts/buildsystems/vcpkg.cmake' -Resolve
44
49
$vcpkgTriplet = '${{ steps.set-variables.outputs.vcpkg_triplet }}'
45
50
$cmakeSharedLibs = $(if ('${{ matrix.libs }}' -eq 'shared') { 'ON' } else { 'OFF' })
46
51
$msbuildArch = $(if ('${{ matrix.arch }}' -eq 'x64') { 'X64' } else { 'Win32' })
Original file line number Diff line number Diff line change 1
1
[submodule "PEGTL "]
2
2
path = PEGTL
3
3
url = https://github.com/taocpp/PEGTL.git
4
+ [submodule "vcpkg "]
5
+ path = vcpkg
6
+ url = https://github.com/microsoft/vcpkg.git
You can’t perform that action at this time.
0 commit comments