aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.github/workflows
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-07-04 02:34:29 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2023-07-04 02:34:29 +0200
commit0c196cbe8b4927c78c02b2c7312fc69a507db845 (patch)
treeb39ea8e1379513085fdae52f1a347779f6556dc7 /.github/workflows
parentMakefile: move the prelude to prelude.mk (diff)
downloadwinapi-common-0c196cbe8b4927c78c02b2c7312fc69a507db845.tar.gz
winapi-common-0c196cbe8b4927c78c02b2c7312fc69a507db845.zip
update cmake-common
Also, change the build directory to build/.
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/ci.yml14
1 files changed, 6 insertions, 8 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 8d51d0b..a1af45e 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -50,7 +50,7 @@ jobs:
- name: Cache Boost
uses: actions/cache@v3
with:
- path: '${{ runner.workspace }}/build/boost_*.tar.gz'
+ path: './build/boost_*.tar.gz'
key: 'boost_${{ env.BOOST_VERSION }}'
- name: Set up Python
uses: actions/setup-python@v4
@@ -69,7 +69,7 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: 'winapi-common-${{ matrix.toolset }}-${{ matrix.platform }}-${{ matrix.configuration }}'
- path: '${{ runner.workspace }}/build/install/'
+ path: './build/install/'
if-no-files-found: error
- name: Test
run: make test
@@ -79,8 +79,8 @@ jobs:
with:
name: 'test_logs-${{ matrix.toolset }}-${{ matrix.platform }}-${{ matrix.configuration }}'
path: |
- ${{ runner.workspace }}/build/**/*_tests.log
- ${{ runner.workspace }}/build/**/*_report.txt
+ ./build/**/*_tests.log
+ ./build/**/*_report.txt
if-no-files-found: error
if: always() && runner.os == 'Windows'
@@ -91,8 +91,6 @@ jobs:
if: github.ref == 'refs/heads/master'
env:
TOOLSET: mingw
- PLATFORM: auto
- CONFIGURATION: Debug
BOOST_VERSION: 1.81.0
CMAKE_FLAGS: -D WINAPI_COMMON_TESTS=OFF
steps:
@@ -107,7 +105,7 @@ jobs:
- name: Cache Boost
uses: actions/cache@v3
with:
- path: '${{ runner.workspace }}/build/boost_*.tar.gz'
+ path: './build/boost_*.tar.gz'
key: 'boost_${{ env.BOOST_VERSION }}'
- name: Set up Python
uses: actions/setup-python@v4
@@ -129,5 +127,5 @@ jobs:
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
- folder: ../build/cmake/html
+ folder: ./build/cmake/html
single-commit: true