This repository has been archived by the owner on Nov 4, 2024. It is now read-only.
forked from drivechain-project/sidechains-old
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from torkelrogstad/2024-02-01-macos-ci
ci: add macOS and Qt
- Loading branch information
Showing
3 changed files
with
163 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
FROM ubuntu:trusty | ||
|
||
RUN mkdir -p /work/SDKs | ||
|
||
WORKDIR /work | ||
|
||
RUN apt-get update | ||
|
||
# Needed for TLS to work | ||
RUN apt-get install ca-certificates | ||
|
||
# General Linux deps | ||
RUN apt-get -y install build-essential libtool autotools-dev automake pkg-config libssl-dev libevent-dev bsdmainutils python3 | ||
|
||
# macOS cross-compilation deps | ||
RUN apt-get -y install curl librsvg2-bin libtiff-tools bsdmainutils cmake imagemagick libcap-dev libz-dev libbz2-dev python-setuptools | ||
|
||
ARG SDK_VERSION=10.11 | ||
ARG SDK_FILE=MacOSX${SDK_VERSION}.sdk | ||
|
||
RUN curl --fail https://bitcoincore.org/depends-sources/sdks/${SDK_FILE}.tar.gz \ | ||
--output ${SDK_FILE}.tar.gz \ | ||
--insecure | ||
|
||
RUN tar -C /work/SDKs -xf ${SDK_FILE}.tar.gz | ||
|
||
ENV HOST=x86_64-apple-darwin11 SDK_PATH=/work/SDKs |