-
Notifications
You must be signed in to change notification settings - Fork 1
30 lines (24 loc) · 907 Bytes
/
tests.yml
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
name: Build Send!
on: [push, pull_request]
jobs:
TestCI:
runs-on: macos-14
steps:
- name: Checkout 🚚
uses: actions/checkout@v4
- name: Install latest stable Rust toolchain 🦀
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
targets: 'aarch64-apple-darwin,x86_64-apple-darwin'
- name: Setup latest Xcode ⚒️
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: latest
- name: Import Certificates 📜
uses: apple-actions/import-codesign-certs@v2
with:
p12-file-base64: ${{ secrets.CERTIFICATES_P12 }}
p12-password: ${{ secrets.CERTIFICATES_P12_PASSWORD }}
- name: Debug Build 🔨
run: xcodebuild -scheme Send -destination "platform=macOS" -configuration Debug CODE_SIGN_IDENTITY=- | xcpretty && exit ${PIPESTATUS[0]}