-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
127 changed files
with
6,231 additions
and
380 deletions.
There are no files selected for viewing
File renamed without changes.
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 |
---|---|---|
|
@@ -7,7 +7,6 @@ on: | |
- main | ||
- master | ||
- develop | ||
- feature/* | ||
tags: | ||
- 202* | ||
paths-ignore: | ||
|
@@ -34,7 +33,7 @@ jobs: | |
shell: bash | ||
run: | | ||
sudo apt update | ||
sudo apt install -yq yasm ccache libstdc++-10-dev-arm64-cross libc6-dev-arm64-cross binutils-aarch64-linux-gnu | ||
sudo apt install -yq yasm ccache libstdc++-10-dev-arm64-cross libc6-dev-arm64-cross binutils-aarch64-linux-gnu libva-dev libdrm-dev | ||
sudo rm -rf /var/lib/apt/lists/* | ||
env: | ||
DEBIAN_FRONTEND: noninteractive | ||
|
@@ -50,6 +49,7 @@ jobs: | |
run: | | ||
source VERSION | ||
echo "libvpx_version=${LIBVPX_VERSION}" >> "$GITHUB_OUTPUT" | ||
echo "svt_av1_version=${SVT_AV1_VERSION}" >> "$GITHUB_OUTPUT" | ||
- name: Cache libvpx ${{ steps.versions.outputs.libvpx_version }} | ||
id: cache-libvpx | ||
uses: actions/cache@v3 | ||
|
@@ -60,6 +60,16 @@ jobs: | |
- name: Clear libvpx | ||
if: steps.cache-libvpx.outputs.cache-hit != 'true' | ||
run: rm -rf third_party/libvpx | ||
- name: Cache SVT-AV1 ${{ steps.versions.outputs.svt_av1_version }} | ||
id: cache-svt-av1 | ||
uses: actions/cache@v3 | ||
with: | ||
path: third_party/SVT-AV1 | ||
key: ${{ matrix.os }}-third_party-svt-av1-${{ hashFiles('third_party/SVT-AV1/Bin/Release/libSvtAv1Dec.a', 'third_party/SVT-AV1/Bin/Release/libSvtAv1Enc.a') }} | ||
restore-keys: ${{ matrix.os }}-third_party-svt-av1- | ||
- name: Clear SVT-AV1 | ||
if: steps.cache-svt-av1.outputs.cache-hit != 'true' | ||
run: rm -rf third_party/SVT-AV1 | ||
- name: Cache release directory | ||
id: cache-release | ||
uses: actions/cache@v3 | ||
|
@@ -83,6 +93,13 @@ jobs: | |
restore-keys: ${{ matrix.os }}-ccache-dir- | ||
- name: Ccache stat | ||
run: ccache -s | ||
- name: Cache ~/.cache/bazel directory | ||
uses: actions/cache@v3 | ||
with: | ||
path: "~/.cache/bazel" | ||
key: ${{ matrix.os }}-cache-bazel-dir | ||
- name: Install numpy | ||
run: pip install numpy | ||
- name: Build hisui | ||
run: ./build.bash ${{ matrix.os }} --package --use-ccache ${{ contains(matrix.os, '_x86_64') && '--with-test' || '' }} | ||
timeout-minutes: 120 | ||
|
@@ -123,7 +140,7 @@ jobs: | |
if-no-files-found: error | ||
- name: Slack Notification | ||
if: failure() | ||
uses: rtCamp/[email protected].0 | ||
uses: rtCamp/[email protected].1 | ||
env: | ||
SLACK_CHANNEL: hisui | ||
SLACK_COLOR: danger | ||
|
@@ -203,7 +220,7 @@ jobs: | |
UBUNTU_VERSION=22.04 | ||
- name: Slack Notification | ||
if: failure() | ||
uses: rtCamp/[email protected].0 | ||
uses: rtCamp/[email protected].1 | ||
env: | ||
SLACK_CHANNEL: hisui | ||
SLACK_COLOR: danger | ||
|
@@ -245,7 +262,7 @@ jobs: | |
${{ steps.env.outputs.package_paths }} | ||
- name: Slack Notification | ||
if: failure() | ||
uses: rtCamp/[email protected].0 | ||
uses: rtCamp/[email protected].1 | ||
env: | ||
SLACK_CHANNEL: hisui | ||
SLACK_COLOR: danger | ||
|
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 |
---|---|---|
|
@@ -7,13 +7,12 @@ on: | |
- main | ||
- master | ||
- develop | ||
- feature/* | ||
paths-ignore: | ||
- 'doc/**' | ||
- '**.md' | ||
- 'THANKS' | ||
- 'LICENSE' | ||
- 'NOTICE' | ||
- 'doc/**' | ||
- '**.md' | ||
- 'THANKS' | ||
- 'LICENSE' | ||
- 'NOTICE' | ||
|
||
jobs: | ||
lint: | ||
|
@@ -28,7 +27,7 @@ jobs: | |
- name: Install packages | ||
shell: bash | ||
run: | | ||
go get -u github.com/client9/misspell/cmd/misspell | ||
go install github.com/client9/misspell/cmd/misspell@latest | ||
sudo apt update | ||
sudo apt install -yq shellcheck | ||
sudo rm -rf /var/lib/apt/lists/* | ||
|
@@ -41,7 +40,7 @@ jobs: | |
timeout-minutes: 120 | ||
- name: Slack Notification | ||
if: failure() | ||
uses: rtCamp/[email protected].0 | ||
uses: rtCamp/[email protected].1 | ||
env: | ||
SLACK_CHANNEL: hisui | ||
SLACK_COLOR: danger | ||
|
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
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
Oops, something went wrong.