mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-11-14 05:20:10 +00:00
[gha] macos: test with different target systems
This commit is contained in:
parent
9771d62892
commit
f386b2e209
1 changed files with 9 additions and 5 deletions
14
.github/workflows/build-osx.yml
vendored
14
.github/workflows/build-osx.yml
vendored
|
|
@ -20,13 +20,17 @@ on:
|
|||
|
||||
jobs:
|
||||
build:
|
||||
name: With USE_UPNP=${{ matrix.with_upnp }}
|
||||
runs-on: macOS-latest
|
||||
name: Build on ${{ matrix.target-name }}
|
||||
runs-on: ${{ matrix.target }}
|
||||
|
||||
strategy:
|
||||
fail-fast: true
|
||||
matrix:
|
||||
with_upnp: ['yes', 'no']
|
||||
include:
|
||||
- target: macos-latest
|
||||
target-name: ARM64
|
||||
- target: macos-latest-large
|
||||
target-name: Intel x86_64
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
|
|
@ -36,10 +40,10 @@ jobs:
|
|||
run: |
|
||||
find /usr/local/bin -lname '*/Library/Frameworks/Python.framework/*' -delete
|
||||
brew update
|
||||
brew install boost miniupnpc openssl@1.1
|
||||
brew install boost miniupnpc openssl@3.5
|
||||
|
||||
- name: List installed formulae
|
||||
run: brew list
|
||||
|
||||
- name: Build application
|
||||
run: make HOMEBREW=1 USE_UPNP=${{ matrix.with_upnp }} PREFIX=$GITHUB_WORKSPACE/output -j3
|
||||
run: make HOMEBREW=1 USE_UPNP=ON PREFIX=$GITHUB_WORKSPACE/output -j3
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue