summaryrefslogtreecommitdiffstatshomepage
path: root/.github/workflows
diff options
context:
space:
mode:
authorEgor Tensin <egor@tensin.name>2025-12-30 11:55:39 +0100
committerEgor Tensin <egor@tensin.name>2025-12-30 11:55:39 +0100
commit82c5a5af5a28437cd07c2c8ccb9799426d7633c3 (patch)
tree839a2cd4e3764e0dfeecce8d9d81092f45eee202 /.github/workflows
parentupgrade cmake-common (diff)
downloadmath-server-82c5a5af5a28437cd07c2c8ccb9799426d7633c3.tar.gz
math-server-82c5a5af5a28437cd07c2c8ccb9799426d7633c3.zip
workflows/ci: update things
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/ci.yml19
1 files changed, 9 insertions, 10 deletions
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