aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/ci.yml24
1 files changed, 14 insertions, 10 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 8377d73..8ea033b 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -12,7 +12,7 @@ jobs:
if: github.ref == 'refs/heads/master'
steps:
- name: Checkout
- uses: actions/checkout@v2
+ uses: actions/checkout@v3
with:
submodules: recursive
- name: Run clang-format
@@ -43,16 +43,18 @@ jobs:
CMAKE_FLAGS: -D WINAPI_COMMON_TESTS=ON
steps:
- name: Checkout
- uses: actions/checkout@v2
+ uses: actions/checkout@v3
with:
submodules: recursive
- name: Cache Boost
- uses: actions/cache@v2
+ uses: actions/cache@v3
with:
path: '${{ runner.workspace }}/build/boost_*.tar.gz'
key: 'boost_${{ env.BOOST_VERSION }}'
- name: Set up Python
- uses: actions/setup-python@v2
+ uses: actions/setup-python@v4
+ with:
+ python-version: '3.x'
- name: Set up MinGW
uses: egor-tensin/setup-mingw@v2
with:
@@ -63,7 +65,7 @@ jobs:
- name: Build
run: make install
- name: Upload binaries
- uses: actions/upload-artifact@v2
+ uses: actions/upload-artifact@v3
with:
name: 'winapi-common-${{ matrix.toolset }}-${{ matrix.platform }}-${{ matrix.configuration }}'
path: '${{ runner.workspace }}/build/install/'
@@ -72,7 +74,7 @@ jobs:
run: make test
if: runner.os == 'Windows'
- name: Upload test logs
- uses: actions/upload-artifact@v2
+ uses: actions/upload-artifact@v3
with:
name: 'test_logs-${{ matrix.toolset }}-${{ matrix.platform }}-${{ matrix.configuration }}'
path: |
@@ -98,16 +100,18 @@ jobs:
# build the project. TODO: research if this is possible without having a
# Doxyfile.
- name: Checkout
- uses: actions/checkout@v2
+ uses: actions/checkout@v3
with:
submodules: recursive
- name: Cache Boost
- uses: actions/cache@v2
+ uses: actions/cache@v3
with:
path: '${{ runner.workspace }}/build/boost_*.tar.gz'
key: 'boost_${{ env.BOOST_VERSION }}'
- name: Set up Python
- uses: actions/setup-python@v2
+ uses: actions/setup-python@v4
+ with:
+ python-version: '3.x'
- name: Set up MinGW
uses: egor-tensin/setup-mingw@v2
- name: Install Doxygen
@@ -121,7 +125,7 @@ jobs:
- name: Build docs
run: make docs
- name: Publish to GitHub Pages
- uses: JamesIves/github-pages-deploy-action@4.1.5
+ uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: ../build/cmake/html