Skip to content

Add a CI workflow.

Add a CI workflow. #1

Workflow file for this run

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.package }}: ${{ matrix.target }}"
runs-on: macOS-latest
strategy:
matrix:
target: [ "iOS", "tvOS", "watchOS" ]
package: [ "BZip2", "XZ", "libFFI", "mpdecimal", "OpenSSL" ]
steps:
- name: Checkout
uses: actions/[email protected]
- name: Set up Python
uses: actions/[email protected]
with:
python-version: "3.X"
- name: Build ${{ matrix.package }} for ${{ matrix.target }}
run: |
# Do the build for the requested target.
make ${{ matrix.package }}-${{ matrix.target }}
- name: Upload Build Artifact
uses: actions/[email protected]
with:
name: dist-${{ matrix.package }}-${{ matrix.target }}
path: dist
if-no-files-found: error