Skip to content

Commit ade05f5

Browse files
committed
feat: use submodule
1 parent d18e3a0 commit ade05f5

File tree

4 files changed

+11
-3
lines changed

4 files changed

+11
-3
lines changed

.github/workflows/rust.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ on:
99
required: true
1010

1111
schedule:
12-
- cron: "0 0 * * *"
12+
- cron: "0 0 1 * *"
1313
push:
1414
paths-ignore:
1515
- 'README.md'
16-
- '.github/**'
16+
# - '.github/**'
1717
branches: [ master ]
1818

1919
pull_request:
@@ -47,6 +47,8 @@ jobs:
4747
asset_name: RustPlayer-macos
4848
steps:
4949
- uses: actions/checkout@v2
50+
with:
51+
submodules: 'recursive'
5052
# - name: patch dynamic build
5153
# run: git apply dynamic-lib.patch
5254

@@ -115,6 +117,8 @@ jobs:
115117
# shell: msys2 {0}
116118
steps:
117119
- uses: actions/checkout@v2
120+
with:
121+
submodules: 'recursive'
118122
- run: rustup toolchain install ${{ inputs.RUST_TOOLCHAIN }} --profile minimal
119123
- uses: Swatinem/rust-cache@v2
120124

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "thirdparty/rust-ffmpeg-sys"]
2+
path = thirdparty/rust-ffmpeg-sys
3+
url = https://github.com/Kingtous/rust-ffmpeg-sys.git

snap/snapcraft.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ parts:
2020
source: .
2121
override-pull: |
2222
snapcraftctl pull
23-
git apply dynamic-lib.patch
23+
git submodule update --init --recursive
2424
build-packages:
2525
- pkg-config
2626
- libssl-dev

thirdparty/rust-ffmpeg-sys

Submodule rust-ffmpeg-sys added at d13dd05

0 commit comments

Comments
 (0)