-
Notifications
You must be signed in to change notification settings - Fork 1
48 lines (45 loc) · 1.39 KB
/
cedar_ffi.yaml
File metadata and controls
48 lines (45 loc) · 1.39 KB
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
39
40
41
42
43
44
45
46
47
48
name: cedar_ffi
on:
pull_request:
paths:
- ".github/workflows/cedar_ffi.yaml"
- "packages/cedar/**"
- "packages/cedar_ffi/**"
# Prevent duplicate runs due to Graphite
# https://graphite.dev/docs/troubleshooting#why-are-my-actions-running-twice
concurrency:
group: ${{ github.repository }}-${{ github.workflow }}-${{ github.ref }}-${{ github.ref == 'refs/heads/main' && github.sha || ''}}
cancel-in-progress: true
defaults:
run:
shell: bash
working-directory: packages/cedar_ffi
jobs:
test:
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- macos-latest
- windows-latest
runs-on: ${{ matrix.os }}
# TODO(dnys1): Speed up Rust builds
timeout-minutes: 30
steps:
- name: Git Checkout
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # 6.0.0
with:
submodules: true
- name: Setup Dart
uses: dart-lang/setup-dart@e51d8e571e22473a2ddebf0ef8a2123f0ab2c02c # 1.7.1
with:
# Native assets is only enabled on beta/dev/main channels for now.
sdk: beta
- name: Setup Rust
uses: actions-rust-lang/setup-rust-toolchain@1780873c7b576612439a134613cc4cc74ce5538c # 1.15.2
- name: Get Packages
run: dart pub get
- name: Test
run: dart test --fail-fast
working-directory: packages/cedar_ffi