-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue: RDI-2164
- Loading branch information
Ruben Gonzalez
committed
Nov 11, 2024
1 parent
fc2f8e3
commit 323ee75
Showing
1 changed file
with
46 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
name: GUW sync | ||
|
||
|
||
on: | ||
schedule: | ||
# Every midnight but the ones from Fr to Sa and from Sa to Su | ||
# Su Mo|Tu|We|Th|Fr|Sa|Su Mo | ||
# X X X X X X | ||
- cron: '0 0 * * 1-5' # https://crontab.guru/#0_0_*_*_1-5 | ||
workflow_dispatch: | ||
|
||
|
||
jobs: | ||
build: | ||
runs-on: 'ubuntu-latest' | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
- name: Install Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: '3.10' | ||
- name: Install poetry | ||
uses: abatilo/actions-poetry@v2 | ||
- name: Install python deps (GUW) | ||
run: | | ||
poetry install | ||
git config --global protocol.file.allow always | ||
- name: Temporal workaround to access public git repos # TODO handle SSH key | ||
run: | | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "gst.wasm CI" | ||
sed -i "s#[email protected]:#https://github.com/#g" guw/cerbero.gst.wasm.toml | ||
sed -i "s#[email protected]:#https://github.com/#g" guw/glib.gst.wasm.toml | ||
sed -i "s#[email protected]:#https://github.com/#g" guw/gstreamer.gst.wasm.toml | ||
sed -i "s#[email protected]:#https://gitlab.freedesktop.org/#g" guw/gstreamer.gst.wasm.toml | ||
- name: GUW sync cerbero | ||
run: | | ||
poetry run guw -l debug guw/cerbero.gst.wasm.toml sync --local | ||
- name: GUW sync GLib | ||
run: | | ||
poetry run guw -l debug guw/glib.gst.wasm.toml sync --local | ||
- name: GUW sync GStreamer | ||
run: | | ||
poetry run guw -l debug guw/gstreamer.gst.wasm.toml sync --local |