Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .github/workflows/parallel-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ jobs:
workspaces: exercise-solutions
- name: Test exercise-solutions and examples, with cache
run: |
# We have to download this so as to keep copyright of our codebase
curl -o exercise-solutions/cpp-interop/src/rapidcsv.h https://raw.githubusercontent.com/d99kris/rapidcsv/a98b85e663114b8fdc9c0dc03abf22c296f38241/src/rapidcsv.h
. ${{github.workspace}}/build_fns.sh
cd exercise-solutions
test_examples
Expand Down Expand Up @@ -219,7 +221,10 @@ jobs:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- run: rustup toolchain install stable --profile minimal
- run: |
rustup toolchain install stable --profile minimal
# We have to download this so as to keep copyright of our codebase
curl -o exercise-templates/cpp-interop/src/rapidcsv.h https://raw.githubusercontent.com/d99kris/rapidcsv/a98b85e663114b8fdc9c0dc03abf22c296f38241/src/rapidcsv.h

- uses: Swatinem/rust-cache@v2
with:
Expand Down
4 changes: 4 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ set -euo pipefail
# Check the formatting
check_fmt

# `rapidcsv.h` is a 3rd party library, so we have to download it
curl -o exercise-solutions/cpp-interop/src/rapidcsv.h https://raw.githubusercontent.com/d99kris/rapidcsv/a98b85e663114b8fdc9c0dc03abf22c296f38241/src/rapidcsv.h
cp exercise-solutions/cpp-interop/src/rapidcsv.h exercise-templates/cpp-interop/src/rapidcsv.h

# Build and test the solutions
pushd exercise-solutions
test_examples
Expand Down
1 change: 1 addition & 0 deletions exercise-book/src/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
- [Shapes](shapes.md)
- [Connected Mailbox](./connected-mailbox.md)
- [Multithreaded mailbox](./multi-threaded-mailbox.md)
- [Cpp Interop](./cpp-interop.md)

# Self-check Project

Expand Down
Loading