Skip to content

Commit

Permalink
Merge pull request #10 from birros/feat/add-config-flavor
Browse files Browse the repository at this point in the history
- replace Taskfile by Makefile
- update naming convention
- bump dependencies
- add Dash support (`libxml2`)
- add `ffmpeg` flavor (default / full)
- add `debug.zip` containing `tool-versions.lock` and `configure.log` from `ffmpeg` and `mpv`
- fix: #11
  • Loading branch information
birros authored Aug 4, 2023
2 parents 9fb14ad + 23ef453 commit 2513893
Show file tree
Hide file tree
Showing 47 changed files with 1,860 additions and 1,769 deletions.
42 changes: 30 additions & 12 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:
uses: actions/checkout@v3

- name: Install requirements
run: brew install go-task meson ninja
run: brew install meson ninja

- name: Print tool versions
run: task tool-versions
run: make tool-versions

- name: Determine version
id: version
Expand All @@ -35,27 +35,45 @@ jobs:
- name: Build
# macOS runners have unknown resource limits (timeout or number of open
# files…) that prevent the execution of a single Taskfile task that
# manages all builds. Concurrent tasks must be limited.
# files…) that prevent the execution of a single Makefile rule that
# manages all builds. So the time per rule must be limited.
run: |
VERSION=${{ steps.version.outputs.version }} task build-macos-audio
VERSION=${{ steps.version.outputs.version }} task build-macos-video
VERSION=${{ steps.version.outputs.version }} task build-ios-audio
VERSION=${{ steps.version.outputs.version }} task build-ios-video
VERSION=${{ steps.version.outputs.version }}
make build/output/libmpv-libs_${VERSION}_ios-arm64-audio-default.tar.gz
make build/output/libmpv-libs_${VERSION}_ios-arm64-audio-full.tar.gz
make build/output/libmpv-libs_${VERSION}_ios-arm64-video-default.tar.gz
make build/output/libmpv-libs_${VERSION}_ios-arm64-video-full.tar.gz
make build/output/libmpv-libs_${VERSION}_iossimulator-universal-audio-default.tar.gz
make build/output/libmpv-libs_${VERSION}_iossimulator-universal-audio-full.tar.gz
make build/output/libmpv-libs_${VERSION}_iossimulator-universal-video-default.tar.gz
make build/output/libmpv-libs_${VERSION}_iossimulator-universal-video-full.tar.gz
make build/output/libmpv-libs_${VERSION}_macos-universal-audio-default.tar.gz
make build/output/libmpv-libs_${VERSION}_macos-universal-audio-full.tar.gz
make build/output/libmpv-libs_${VERSION}_macos-universal-video-default.tar.gz
make build/output/libmpv-libs_${VERSION}_macos-universal-video-full.tar.gz
make build/output/libmpv-xcframeworks_${VERSION}_ios-universal-audio-default.tar.gz
make build/output/libmpv-xcframeworks_${VERSION}_ios-universal-audio-full.tar.gz
make build/output/libmpv-xcframeworks_${VERSION}_ios-universal-video-default.tar.gz
make build/output/libmpv-xcframeworks_${VERSION}_ios-universal-video-full.tar.gz
make build/output/libmpv-xcframeworks_${VERSION}_macos-universal-audio-default.tar.gz
make build/output/libmpv-xcframeworks_${VERSION}_macos-universal-audio-full.tar.gz
make build/output/libmpv-xcframeworks_${VERSION}_macos-universal-video-default.tar.gz
make build/output/libmpv-xcframeworks_${VERSION}_macos-universal-video-full.tar.gz
make build/output/debug.zip
- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
if-no-files-found: error
path: |
build/tool-versions.lock
build/**/*.tar.gz
build/output/debug.zip
build/output/*.tar.gz
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
fail_on_unmatched_files: true
files: |
build/tool-versions.lock
build/**/*.tar.gz
build/output/debug.zip
build/output/*.tar.gz
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
.task
build
8 changes: 4 additions & 4 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
clang 14.0.3
cmake 3.26.4
cmake 3.27.0
golang 1.20.5
macos 13.4.1
meson 1.1.1
macos 13.5
make 3.81
meson 1.2.0
ninja 1.11.1
task 3.27.1
xcode 14.3.1
Loading

0 comments on commit 2513893

Please sign in to comment.