Skip to content

Commit

Permalink
Fix variable substitution in CMake
Browse files Browse the repository at this point in the history
  • Loading branch information
0xg0nz0 committed Jan 14, 2024
1 parent 06c770a commit 9c36421
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
generator: Ninja
c-compiler: clang
cxx-compiler: clang++
options: -DCMAKE_TOOLCHAIN_FILE=$VCPKG_ROOT/scripts/buildsystems/vcpkg.cmake
options: CMAKE_TOOLCHAIN_FILE='/usr/local/share/vcpkg/scripts/buildsystems/vcpkg.cmake'
- name: Build
run: cmake --build build
- name: Unit Tests
Expand Down
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
# Iggy C++ Client

This project aims to create a full C++ clients for [Iggy.rs](https://iggy.rs). It is as much a learning project as a fully functional one.

## HOWTO: test GitHub actions locally

This VSCode container includes act and Docker-in-Docker, and you can use it to do a smoke test of the CI actions before you push to GitHub:

```
act -P ubuntu-20.04=catthehacker/ubuntu:full-20.04 --matrix=os:ubuntu-20.04 --no-pull
```

Note the Docker image required is very large, and you probably want to pull it once:

```
docker pull catthehacker/ubuntu:full-20.04
```

0 comments on commit 9c36421

Please sign in to comment.