From 82c5a5af5a28437cd07c2c8ccb9799426d7633c3 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Tue, 30 Dec 2025 11:55:39 +0100 Subject: workflows/ci: update things --- .github/workflows/ci.yml | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) (limited to '.github/workflows') diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0043afd..46a566f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,7 +12,7 @@ jobs: continue-on-error: ${{ github.ref != 'refs/heads/master' }} steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: submodules: recursive - name: Run clang-format @@ -21,13 +21,12 @@ jobs: build: strategy: matrix: - toolset: [gcc, vs2019, vs2022] + toolset: [gcc, vs2022] platform: [x64, x86] configuration: [Debug, Release] include: - {toolset: gcc, os: ubuntu-latest} - - {toolset: vs2019, os: windows-2019} - - {toolset: vs2022, os: windows-2022} + - {toolset: vs2022, os: windows-2025} exclude: # 32-bit Linux builds, meh. - {toolset: gcc, platform: x86} @@ -44,15 +43,15 @@ jobs: shell: pwsh steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: submodules: recursive - name: Set up Python - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: '3.x' - name: Cache Boost - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: './build/boost_*.tar.gz' key: 'boost_${{ env.BOOST_VERSION }}' @@ -61,7 +60,7 @@ jobs: - name: Build run: make install - name: Upload binaries - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v6 with: name: 'math-server-${{ matrix.toolset }}-${{ matrix.platform }}-${{ matrix.configuration }}' path: './build/install/' @@ -78,7 +77,7 @@ jobs: name: 'Docker: publish math-${{ matrix.project }}' steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: submodules: recursive - name: Set up QEMU @@ -100,7 +99,7 @@ jobs: echo 'platforms=amd64' >> "$GITHUB_OUTPUT" fi - name: 'Publish math-${{ matrix.project }}' - uses: docker/build-push-action@v5 + uses: docker/build-push-action@v6 with: # Without context, .dockerignore is not respected? # https://stackoverflow.com/a/74552407/514684 -- cgit v1.3