Skip to content

Commit

Permalink
Merge branch 'main' into tools
Browse files Browse the repository at this point in the history
  • Loading branch information
vicroms authored Dec 17, 2024
2 parents 61a8b34 + 7dbf07e commit 77dc31b
Show file tree
Hide file tree
Showing 124 changed files with 3,450 additions and 717 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,18 @@ jobs:
preset: windows-ci
- os: ubuntu-20.04
preset: linux-ci
- os: macos-12
- os: macos-13
preset: macos-ci
runs-on: ${{ matrix.os }}
timeout-minutes: 120
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "18.x"
cache: 'npm'
cache-dependency-path: vcpkg-artifacts/package-lock.json
- uses: lukka/get-cmake@v3.26.3
- uses: lukka/get-cmake@v3.31.0
with:
cmakeVersion: 3.22.1 # ubuntu 22.04
ninjaVersion: 1.11.1
Expand Down Expand Up @@ -70,7 +70,7 @@ jobs:
run: |
"VCPKG_SHA="+(Get-Content vcpkg-init/vcpkg-scripts-sha.txt -Raw).Trim() >> $env:GITHUB_OUTPUT
- name: Checkout microsoft/vcpkg for end-to-end tests
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
path: ${{ github.workspace }}/vcpkg-root
Expand All @@ -80,6 +80,7 @@ jobs:
shell: pwsh
run: |
cd out/build/${{ matrix.preset }}
Import-Module Pester -Force -MinimumVersion '5.6.1' -MaximumVersion '5.99'
${{ github.workspace }}/azure-pipelines/end-to-end-tests.ps1 -RunArtifactsTests
env:
VCPKG_ROOT: ${{ github.workspace }}/vcpkg-root
10 changes: 5 additions & 5 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ jobs:
runs-on: windows-2022
timeout-minutes: 60
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "18.x"
cache: 'npm'
cache-dependency-path: vcpkg-artifacts/package-lock.json
- uses: lukka/get-cmake@v3.26.3
- uses: lukka/get-cmake@v3.31.0
with:
cmakeVersion: 3.22.1 # ubuntu 22.04
ninjaVersion: 1.11.1
Expand Down Expand Up @@ -75,14 +75,14 @@ jobs:
runs-on: windows-2022
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Get microsoft/vcpkg pinned sha into VCPKG_SHA
id: vcpkg_sha
shell: pwsh
run: |
"VCPKG_SHA="+(Get-Content vcpkg-init/vcpkg-scripts-sha.txt -Raw).Trim() >> $env:GITHUB_OUTPUT
- name: Checkout microsoft/vcpkg for end-to-end tests
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
path: ${{ github.workspace }}/vcpkg-root
Expand Down
5 changes: 5 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,11 @@ else()

string(APPEND CMAKE_C_FLAGS " -Wall -Wextra -Wpedantic -Wno-unknown-pragmas -Wno-missing-field-initializers ${DECL_WARNING}")
string(APPEND CMAKE_CXX_FLAGS " -Wall -Wextra -Wpedantic -Wno-unknown-pragmas -Wno-missing-field-initializers -Wno-redundant-move ${DECL_WARNING}")

if(VCPKG_COMPILER STREQUAL "gcc" AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 13 AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS 14)
# -Wno-dangling-reference results from https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107532 :(
string(APPEND CMAKE_CXX_FLAGS " -Wno-dangling-reference")
endif()
endif()

if(VCPKG_WARNINGS_AS_ERRORS)
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
throw "Script download error"
Loading

0 comments on commit 77dc31b

Please sign in to comment.