Skip to content

Commit 0e4e6bd

Browse files
author
Delta-Kronecker
committed
ci: fix static-tor configure error; build dynamically (milestone 1)
1 parent f9c8405 commit 0e4e6bd

1 file changed

Lines changed: 10 additions & 4 deletions

File tree

.github/workflows/build.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@ jobs:
2424
- name: Configure
2525
run: |
2626
chmod +x configure
27-
./configure --enable-static-tor \
28-
--disable-asciidoc --disable-man --disable-html-docs
27+
./configure --disable-asciidoc --disable-man --disable-html-docs
2928
3029
- name: Build
3130
run: make -j$(nproc)
@@ -64,7 +63,6 @@ jobs:
6463
cd "$GITHUB_WORKSPACE"
6564
chmod +x configure
6665
./configure --host=x86_64-w64-mingw32 \
67-
--enable-static-tor \
6866
--disable-asciidoc --disable-man --disable-html-docs
6967
7068
- name: Build
@@ -79,11 +77,19 @@ jobs:
7977
cd "$GITHUB_WORKSPACE"
8078
./src/app/tor.exe --version
8179
80+
- name: Stage binaries + runtime DLLs
81+
shell: msys2 {0}
82+
run: |
83+
cd "$GITHUB_WORKSPACE"
84+
mkdir -p dist
85+
cp src/app/tor.exe dist/
86+
cp "$MINGW_PREFIX"/bin/libevent*.dll "$MINGW_PREFIX"/bin/libssl-3-x64.dll "$MINGW_PREFIX"/bin/libcrypto-3-x64.dll "$MINGW_PREFIX"/bin/zlib1.dll dist/ 2>/dev/null || true
87+
8288
- name: Upload artifact
8389
uses: actions/upload-artifact@v4
8490
with:
8591
name: tor-win64
86-
path: src/app/tor.exe
92+
path: dist/
8793

8894
transports:
8995
name: pluggable-transports (Windows x86_64)

0 commit comments

Comments
 (0)