diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 89735ff..27139dc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,6 +10,7 @@ on: jobs: ##### linux ##### linux: + timeout-minutes: 60 strategy: fail-fast: false matrix: @@ -25,7 +26,7 @@ jobs: - name: install build tools run: | sudo apt --quiet update --yes - sudo apt --quiet install --yes build-essential cmake pkg-config git curl zip unzip tar procps + sudo apt --quiet install --yes build-essential cmake bison pkg-config git curl zip unzip tar procps - name: increase swap size run: | free -h @@ -48,6 +49,10 @@ jobs: libgtk-4-dev \ libpulse-dev \ libltdl-dev \ + libx11-dev \ + libvulkan-dev \ + libwayland-dev \ + libxkbcommon-dev \ autoconf \ autoconf-archive \ automake \ @@ -74,13 +79,15 @@ jobs: - name: build run: | cd build/cmake - cmake --build --preset ${{ matrix.config }} + cmake --build --preset ${{ matrix.config }} --parallel $(nproc) - name: test run: | cd build/cmake - cmake --build --preset ${{ matrix.config }} --target test + cmake --build --preset ${{ matrix.config }} --target test --parallel $(nproc) ##### macosx ##### macosx: + # the full build on a macos runner takes about 55 minutes + timeout-minutes: 90 runs-on: macos-latest strategy: fail-fast: false @@ -120,13 +127,14 @@ jobs: - name: build run: | cd build/cmake - cmake --build --preset ${{ matrix.config }} + cmake --build --preset ${{ matrix.config }} --parallel $(sysctl -n hw.ncpu) - name: test run: | cd build/cmake - cmake --build --preset ${{ matrix.config }} --target test + cmake --build --preset ${{ matrix.config }} --target test --parallel $(sysctl -n hw.ncpu) ##### windows ##### windows: + timeout-minutes: 60 runs-on: windows-latest defaults: run: @@ -161,11 +169,11 @@ jobs: - name: build run: | cd build/cmake - cmake --build --preset ${{ matrix.config }} + cmake --build --preset ${{ matrix.config }} --parallel $env:NUMBER_OF_PROCESSORS - name: test run: | cd build/cmake - cmake --build --preset ${{ matrix.config }} --target test + cmake --build --preset ${{ matrix.config }} --target test --parallel $env:NUMBER_OF_PROCESSORS - name: upload vcpkg logs to artifacts if: always() # even if previous steps fail, this one needs to be run uses: actions/upload-artifact@v7 @@ -178,6 +186,7 @@ jobs: if-no-files-found: warn ##### ios ##### ios: + timeout-minutes: 60 runs-on: macos-latest strategy: fail-fast: false @@ -210,14 +219,15 @@ jobs: uses: myci-actions/export-env-var@main with: {name: PATH, value: "$PATH:$VCPKG_ROOT"} - name: install ci tools - run: brew install cmake + run: | + brew install cmake - name: generate cmake build files run: | cmake build/cmake --preset ios-${{ matrix.config }} - name: build run: | cd build/cmake - cmake --build --preset ios-${{ matrix.config }} + cmake --build --preset ios-${{ matrix.config }} --parallel $(sysctl -n hw.ncpu) # - name: test # run: | # cd build/cmake diff --git a/build/cmake/vcpkg.json b/build/cmake/vcpkg.json index b19358c..b5b9b58 100644 --- a/build/cmake/vcpkg.json +++ b/build/cmake/vcpkg.json @@ -14,6 +14,9 @@ "platform": "windows" }, "curl", - "vulkan" + { + "name": "vulkan", + "platform": "!linux" + } ] } diff --git a/repos/clargs b/repos/clargs index d3c42a1..6bdcb94 160000 --- a/repos/clargs +++ b/repos/clargs @@ -1 +1 @@ -Subproject commit d3c42a124623738552e2b972bbafea9c42fc4598 +Subproject commit 6bdcb9486b533e93da4db8a010063d6d698fc268 diff --git a/repos/cssom b/repos/cssom index a9abeaf..b3d9932 160000 --- a/repos/cssom +++ b/repos/cssom @@ -1 +1 @@ -Subproject commit a9abeafad3c3f9f53265c145170ea1e048a65806 +Subproject commit b3d99320b2c40e72a57c5a45a970c8ce7299725f diff --git a/repos/ruis b/repos/ruis index 27ca4f4..1d2c949 160000 --- a/repos/ruis +++ b/repos/ruis @@ -1 +1 @@ -Subproject commit 27ca4f40bec7077020599ec47beca28080667ba7 +Subproject commit 1d2c9493aecf69b3fa694fefedd0e0aeefe6b0c3 diff --git a/repos/ruis-render-vulkan b/repos/ruis-render-vulkan index ace5f65..e6b74bc 160000 --- a/repos/ruis-render-vulkan +++ b/repos/ruis-render-vulkan @@ -1 +1 @@ -Subproject commit ace5f6528e5434d1f3265b3839f2734d8c799bc8 +Subproject commit e6b74bc914970c7f1ca409fb9c25d4f0b725950b diff --git a/repos/tml b/repos/tml index 6e399b7..a6925df 160000 --- a/repos/tml +++ b/repos/tml @@ -1 +1 @@ -Subproject commit 6e399b7a718aa7d9a3ed1e9f75c012ba8017a2b6 +Subproject commit a6925dfbec8c2a833e297a31603661d9783a44e2 diff --git a/repos/tst b/repos/tst index 3f0ab60..3228cae 160000 --- a/repos/tst +++ b/repos/tst @@ -1 +1 @@ -Subproject commit 3f0ab60a6cb2f4be5818eebbd623bacfa0a1e32b +Subproject commit 3228cae50fbfd20386d1b490e6323df49a4dddb6 diff --git a/repos/utki b/repos/utki index def482f..ec1c167 160000 --- a/repos/utki +++ b/repos/utki @@ -1 +1 @@ -Subproject commit def482f50e8ed8c34af9101b9a94aa900691f10c +Subproject commit ec1c1677b106765f1b3bc5bbb257b6c74ba614e0