Browse Source

[gha] build docker containers only on specific paths changes

Signed-off-by: r4sas <r4sas@i2pmail.org>
pull/1949/merge
R4SAS 5 months ago
parent
commit
05eda2bc9e
Signed by: r4sas
GPG Key ID: 66F6C87B98EBCFE2
  1. 32
      .github/workflows/build-freebsd.yml-disabled
  2. 10
      .github/workflows/docker.yml

32
.github/workflows/build-freebsd.yml-disabled

@ -1,32 +0,0 @@ @@ -1,32 +0,0 @@
name: Build on FreeBSD
on: [push, pull_request]
jobs:
build:
runs-on: macos-12
name: with UPnP
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Test in FreeBSD
id: test
uses: vmactions/freebsd-vm@v0.3.1
with:
usesh: true
mem: 2048
sync: rsync
copyback: true
prepare: pkg install -y devel/cmake devel/gmake devel/boost-libs security/openssl net/miniupnpc
run: |
cd build
cmake -DWITH_UPNP=ON -DCMAKE_BUILD_TYPE=Release .
gmake -j2
- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
name: i2pd-freebsd
path: build/i2pd

10
.github/workflows/docker.yml

@ -5,6 +5,16 @@ on: @@ -5,6 +5,16 @@ on:
branches:
- openssl
- docker
paths:
- .github/workflows/docker.yml
- contrib/docker/**
- contrib/certificates/**
- daemon/**
- i18n/**
- libi2pd/**
- libi2pd_client/**
- Makefile
- Makefile.linux
tags:
- '*'

Loading…
Cancel
Save