-
Notifications
You must be signed in to change notification settings - Fork 9
38 lines (36 loc) · 1.01 KB
/
check-pr.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: Check PR
on:
pull_request:
branches: [main]
jobs:
check-pr:
if: github.head_ref != 'release'
runs-on: macos-12
steps:
- name: Cancel Previous Runs
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}
- uses: actions/checkout@v4
- uses: Homebrew/actions/setup-homebrew@master
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: "13.3.1"
- uses: ningenMe/[email protected]
- uses: turtlebrowser/get-conan@main
- name: Install Make
run: brew install make
- name: Build Setup
run: make mac-setup
- name: Build Artifacts
env:
APPLE_XCODE_APP_NAME: Xcode_13.3.1.app
APPLE_MACOSX_SDK: MacOSX12.3
run: make demo-player
- name: Run Tests
run: make test
- name: Run Clippy
run: make clippy
# Make sure CI fails on all warnings, including Clippy lints
env:
RUSTFLAGS: "-Dwarnings"