Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
58 changes: 58 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
name: CI
on:
pull_request:

env:
FORCE_COLOR: "1"

defaults:
run:
shell: bash

# Cancel active CI runs for a PR before starting another run
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true

jobs:
config:
name: ${{ matrix.target }}
runs-on: macOS-latest
strategy:
matrix:
target: [ "iOS", "tvOS", "watchOS" ]
steps:
- name: Checkout
uses: actions/[email protected]

- name: Set up Python
uses: actions/[email protected]
with:
python-version: "3.X"

- name: Build BZip2 for ${{ matrix.target }}
run: |
make BZip2-${{ matrix.target }}

- name: Build XZ for ${{ matrix.target }}
run: |
make XZ-${{ matrix.target }}

- name: Build libFFI for ${{ matrix.target }}
run: |
make libFFI-${{ matrix.target }}

- name: Build mpdecimal for ${{ matrix.target }}
run: |
make mpdecimal-${{ matrix.target }}

- name: Build OpenSSL for ${{ matrix.target }}
run: |
make OpenSSL-${{ matrix.target }}

- name: Upload Build Artifact
uses: actions/[email protected]
with:
name: dist-${{ matrix.target }}
path: dist
if-no-files-found: error