Skip to content
Open
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
27 changes: 27 additions & 0 deletions .github/workflows/swift.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Swift

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
build:

runs-on: macos-latest

steps:
- uses: actions/checkout@v2
- name: Build
run: swift run ffmpeg-ios --arch arm64 --arch x86_64
- name: Archive avcodec.xcframework
uses: actions/upload-artifact@v2
with:
name: avcodec
path: Frameworks/avcodec.xcframework
- name: Archive avformat.xcframework
uses: actions/upload-artifact@v2
with:
name: avformat
path: Frameworks/avformat.xcframework