Skip to content

Commit bc0263f

Browse files
committed
Fix build
1 parent acd2c72 commit bc0263f

File tree

2 files changed

+13
-6
lines changed

2 files changed

+13
-6
lines changed

.github/workflows/builds.yml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,11 @@ jobs:
3030
with:
3131
submodules: recursive
3232

33+
- name: Setup CMake
34+
uses: jwlawson/actions-setup-cmake@v2
35+
with:
36+
cmake-version: "4.0.0"
37+
3338
- name: Install Vulkan SDK
3439
uses: humbletim/setup-vulkan-sdk@v1.2.0
3540
with:
@@ -79,7 +84,7 @@ jobs:
7984
shell: bash
8085
if: matrix.build_type == 'Coverage'
8186
env:
82-
CODACY_PROJECT_TOKEN: ${{ secrets.CODACY_PROJECT_TOKEN }}
87+
CODACY_PROJECT_TOKEN: ${{ secrets.CODACY_PROJECT_TOKEN || '' }}
8388
run: |
8489
bash <(curl -s https://codecov.io/bash)
8590
find .. -name *.gcno | xargs gcov
@@ -89,21 +94,23 @@ jobs:
8994
bash <(curl -Ls https://coverage.codacy.com/get.sh) report -r coverage.info
9095
9196
- name: Archive Coverage HTML
92-
uses: actions/upload-artifact@v2
97+
uses: actions/upload-artifact@v4
9398
if: matrix.build_type == 'Coverage'
9499
with:
95-
name: coverage-html
100+
name: coverage-html-${{ matrix.os }}-${{ matrix.cc }}-${{ matrix.build_type }}
96101
path: |
97102
${{github.workspace}}/build/**/*.html
98103
${{github.workspace}}/build/**/*.css
104+
if-no-files-found: warn
99105

100106
- name: Archive Binary
101-
uses: actions/upload-artifact@v2
107+
uses: actions/upload-artifact@v4
102108
with:
103-
name: binaries
109+
name: binaries-${{ matrix.os }}-${{ matrix.cc }}-${{ matrix.build_type }}
104110
path: |
105111
${{github.workspace}}/build/app/**/*.ttf
106112
${{github.workspace}}/build/app/**/*.scm
107113
${{github.workspace}}/build/app/**/Zing*
108114
${{github.workspace}}/build/tests/**/unittests/*.exe
115+
if-no-files-found: warn
109116

prebuild.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ fi
1515

1616
if [ ! -d "vcpkg/imgui" ]; then
1717
cd vcpkg
18-
./vcpkg install cppcodec freetype sdl2 fmt foonathan-memory glm concurrentqueue tinydir catch2 nlohmann-json --triplet ${triplet[0]} --recurse
18+
./vcpkg install cppcodec freetype sdl3 fmt foonathan-memory glm concurrentqueue tinydir catch2 nlohmann-json --triplet ${triplet[0]} --recurse
1919
if [ "$(uname)" != "Darwin" ]; then
2020
./vcpkg install glib --triplet ${triplet[0]} --recurse
2121
fi

0 commit comments

Comments
 (0)