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: 7 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# libtor-src compiles Tor from C and needs to find OpenSSL.
# On macOS, Homebrew installs OpenSSL in a non-standard prefix, so we hint the
# configure script via CFLAGS/LDFLAGS. On Linux these paths don't exist and
# the flags are harmlessly ignored.
[env]
CFLAGS = "-I/opt/homebrew/opt/openssl@3/include"
LDFLAGS = "-L/opt/homebrew/opt/openssl@3/lib"
5 changes: 3 additions & 2 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:

- name: Test container starts and responds
run: |
docker run -d --rm --name test-container -p 3000:3000 \
docker run -d --name test-container -p 3000:3000 \
-e DASHBOARD_HOST=0.0.0.0 -e DASHBOARD_ALLOW_REMOTE=true \
maker-dashboard:test
# Wait for the server to be ready
Expand All @@ -55,10 +55,11 @@ jobs:
if [ "$i" -eq 30 ]; then
echo "Server failed to start"
docker logs test-container
docker rm -f test-container || true
exit 1
fi
sleep 1
done
# Verify API responds
curl -sf http://localhost:3000/api/makers | jq .
docker stop test-container || true
docker rm -f test-container || true
Loading