mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-09 09:55:00 -04:00
Try building in Debian instead of Ubuntu
This commit is contained in:
parent
1635fca79a
commit
b747dfea85
1 changed files with 8 additions and 10 deletions
|
@ -88,8 +88,8 @@ jobs:
|
||||||
# Based off of https://github.com/ahf/tor-win32
|
# Based off of https://github.com/ahf/tor-win32
|
||||||
build-tor-windows:
|
build-tor-windows:
|
||||||
docker:
|
docker:
|
||||||
- image: cimg/python:3.9
|
- image: debian/bullseye
|
||||||
resource_class: large
|
resource_class: medium+
|
||||||
environment:
|
environment:
|
||||||
# NOTE: change when upgrading openssl
|
# NOTE: change when upgrading openssl
|
||||||
OPENSSL_VERSION: "3.0.3"
|
OPENSSL_VERSION: "3.0.3"
|
||||||
|
@ -101,10 +101,8 @@ jobs:
|
||||||
- run:
|
- run:
|
||||||
name: Install build dependencies
|
name: Install build dependencies
|
||||||
command: |
|
command: |
|
||||||
sudo bash -c 'echo "deb http://archive.ubuntu.com/ubuntu/ jammy main restricted universe" >> /etc/apt/sources.list'
|
apt-get update
|
||||||
sudo apt-get update
|
apt-get install -t jammy -y build-essential autoconf automake libtool gcc-mingw-w64-i686 gcc-mingw-w64-x86-64 libz-mingw-w64-dev
|
||||||
sudo apt-get install -t jammy -y build-essential autoconf automake libtool
|
|
||||||
sudo apt-get install -t jammy -y gcc-mingw-w64-i686 gcc-mingw-w64-x86-64 libz-mingw-w64-dev
|
|
||||||
|
|
||||||
- run:
|
- run:
|
||||||
name: Create folders
|
name: Create folders
|
||||||
|
@ -339,8 +337,8 @@ jobs:
|
||||||
--with-openssl-dir=/home/circleci/build/prefix-openssl-x32 \
|
--with-openssl-dir=/home/circleci/build/prefix-openssl-x32 \
|
||||||
--disable-tool-name-check \
|
--disable-tool-name-check \
|
||||||
--enable-fatal-warnings \
|
--enable-fatal-warnings \
|
||||||
--prefix=/home/circleci/build/prefix-tor-x32
|
--prefix=/home/circleci/build/prefix-tor-x32 && \
|
||||||
make -j$(nproc)
|
make -j$(nproc) && \
|
||||||
make install
|
make install
|
||||||
- save_cache:
|
- save_cache:
|
||||||
# NOTE: change when upgrading tor
|
# NOTE: change when upgrading tor
|
||||||
|
@ -376,8 +374,8 @@ jobs:
|
||||||
--with-openssl-dir=/home/circleci/build/prefix-openssl-x64 \
|
--with-openssl-dir=/home/circleci/build/prefix-openssl-x64 \
|
||||||
--disable-tool-name-check \
|
--disable-tool-name-check \
|
||||||
--enable-fatal-warnings \
|
--enable-fatal-warnings \
|
||||||
--prefix=/home/circleci/build/prefix-tor-x64
|
--prefix=/home/circleci/build/prefix-tor-x64 && \
|
||||||
make -j$(nproc)
|
make -j$(nproc) && \
|
||||||
make install
|
make install
|
||||||
- save_cache:
|
- save_cache:
|
||||||
# NOTE: change when upgrading tor
|
# NOTE: change when upgrading tor
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue