Skip to content

Commit

Permalink
build(cucumber-cpp): use master branch version
Browse files Browse the repository at this point in the history
  • Loading branch information
parfeon authored Jan 17, 2025
1 parent 5f8f303 commit ac35e5a
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ jobs:
- name: Setup environment
shell: bash
run: |
sudo apt-get update
sudo apt-get install -y ninja-build libboost-all-dev libssl-dev
sudo gem install cucumber
- name: Checkout project
Expand All @@ -78,23 +79,23 @@ jobs:
with:
path: |
cucumber-cpp
key: ${{ runner.os }}-cucumber-cpp-4d47d6c4e505d293114751bb8a6610cf4dc55665
key: ${{ runner.os }}-cucumber-cpp-naster
restore-keys: |
${{ runner.os }}-cucumber-cpp-
- name: Checkout Cucumber
if: steps.cucumber-cpp.outputs.cache-hit != 'true'
uses: actions/checkout@v4
with:
repository: cucumber/cucumber-cpp
ref: 4d47d6c4e505d293114751bb8a6610cf4dc55665
ref: master
path: cucumber-cpp-src
- name: Build Cucumber
if: steps.cucumber-cpp.outputs.cache-hit != 'true'
shell: bash
run: |
cd ./cucumber-cpp-src
cmake -B build -DCMAKE_BUILD_TYPE=Debug
cmake --build build --config Debug
cmake -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build --config Release
cd "$GITHUB_WORKSPACE"
mkdir -p cucumber-cpp
mv cucumber-cpp-src/build cucumber-cpp/build
Expand Down

0 comments on commit ac35e5a

Please sign in to comment.