Skip to content

Commit

Permalink
Merge branch 'develop' into feature/fix-jetson-av1
Browse files Browse the repository at this point in the history
  • Loading branch information
melpon committed Feb 16, 2024
2 parents 67a4908 + 395a7ac commit a07ecba
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,22 @@ jobs:
with:
path: "~/.cache/bazel"
key: bazel-${{ matrix.name }}-v1
- name: Disk cleanup
run: |
set -x
df -h
sudo du -h -d1 /usr/local
sudo du -h -d1 /usr/local/share
sudo du -h -d1 /usr/local/lib
sudo du -h -d1 /usr/share
docker rmi `docker images -q -a`
# 4.6G
sudo rm -rf /usr/local/.ghcup
# 1.7G
sudo rm -rf /usr/share/swift
# 1.4G
sudo rm -rf /usr/share/dotnet
df -h
- name: Install deps for ${{ matrix.name }}
if: matrix.name == 'ubuntu-20.04_x86_64' || matrix.name == 'ubuntu-22.04_x86_64'
run: |
Expand Down Expand Up @@ -223,6 +239,15 @@ jobs:
with:
name: ${{ matrix.name }}.env
path: _package/${{ matrix.name }}/release/sora.env
- name: Slack Notification
if: failure()
uses: rtCamp/action-slack-notify@v2
env:
SLACK_CHANNEL: sora-cpp-sdk
SLACK_COLOR: danger
SLACK_TITLE: Build failed
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}

create-release:
name: Create Release
if: contains(github.ref, 'tags/202')
Expand Down Expand Up @@ -264,3 +289,11 @@ jobs:
uses: softprops/action-gh-release@v1
with:
files: ${{ steps.env.outputs.package_paths }}
- name: Slack Notification
if: failure()
uses: rtCamp/action-slack-notify@v2
env:
SLACK_CHANNEL: sora-cpp-sdk
SLACK_COLOR: danger
SLACK_TITLE: Release failed
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}

0 comments on commit a07ecba

Please sign in to comment.