Merge pull request #49 from shiguredo/feature/processor-trait-encoder #597
This file contains hidden or 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
name: CI-macOS | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- "develop" | |
- "feature/**" | |
paths-ignore: | |
- "**.md" | |
schedule: | |
# UTC の 01:00 は JST だと 10:00 。 | |
# 1-5 で 月曜日から金曜日 | |
- cron: "0 1 * * 1-5" | |
jobs: | |
test: | |
runs-on: | |
group: Self | |
labels: [self-hosted, macOS, ARM64] | |
timeout-minutes: 15 | |
steps: | |
- uses: actions/checkout@v5 | |
- name: 🍺 Set up Homebrew | |
uses: Homebrew/actions/setup-homebrew@master | |
- name: Install rustup | |
run: | | |
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y | |
- name: Update PATH | |
run: echo "PATH=$HOME/.cargo/bin:$PATH" >> $GITHUB_ENV | |
- name: Install packages to build external dependencies | |
run: | | |
brew update | |
brew install meson ninja nasm yasm cmake automake autoconf libtool pkg-config | |
- run: cargo check --workspace --exclude shiguredo_fdk_aac | |
- run: cargo clippy --workspace --exclude shiguredo_fdk_aac | |
- run: cargo test --workspace --exclude shiguredo_fdk_aac --exclude shiguredo_openh264 | |
- name: Slack Notification | |
if: failure() | |
uses: rtCamp/action-slack-notify@v2 | |
env: | |
SLACK_CHANNEL: hisui | |
SLACK_COLOR: danger | |
SLACK_ICON_EMOJI: ":japanese_ogre:" | |
SLACK_TITLE: "FAILED" | |
SLACK_MESSAGE: <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|${{github.event.head_commit.message }}> | |
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} |