mirror of https://github.com/PurpleI2P/i2pd.git
I2P: End-to-End encrypted and anonymous Internet
https://i2pd.website/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
942 B
35 lines
942 B
name: Build on Windows |
|
|
|
on: [push, pull_request] |
|
|
|
defaults: |
|
run: |
|
shell: msys2 {0} |
|
|
|
jobs: |
|
build: |
|
name: Building for ${{ matrix.arch }} |
|
runs-on: windows-latest |
|
strategy: |
|
fail-fast: true |
|
matrix: |
|
include: [ |
|
{ msystem: MINGW64, arch: x86_64 }, |
|
{ msystem: MINGW32, arch: i686 } |
|
] |
|
steps: |
|
- uses: actions/checkout@v2 |
|
- name: Setup MSYS2 |
|
uses: msys2/setup-msys2@v2 |
|
with: |
|
msystem: ${{ matrix.msystem }} |
|
install: base-devel mingw-w64-${{ matrix.arch }}-gcc mingw-w64-${{ matrix.arch }}-boost mingw-w64-${{ matrix.arch }}-openssl mingw-w64-${{ matrix.arch }}-miniupnpc |
|
update: true |
|
- name: build application |
|
run: | |
|
mkdir -p obj/Win32 obj/libi2pd obj/libi2pd_client obj/daemon |
|
make USE_UPNP=yes DEBUG=no -j3 |
|
- name: Upload artifacts |
|
uses: actions/upload-artifact@v2 |
|
with: |
|
path: i2pd.exe
|
|
|