You've already forked core-foundation-rs
mirror of
https://github.com/encounter/core-foundation-rs.git
synced 2026-03-30 11:04:19 -07:00
36 lines
657 B
YAML
36 lines
657 B
YAML
name: Rust
|
|
|
|
on:
|
|
push:
|
|
branches: ["**"]
|
|
pull_request:
|
|
branches: ["**"]
|
|
|
|
env:
|
|
CARGO_TERM_COLOR: always
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
matrix:
|
|
os: [macos-11.0, macos-10.15]
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Build
|
|
run: cargo build --verbose
|
|
- name: Run tests
|
|
run: cargo test --verbose
|
|
build_result:
|
|
name: homu build finished
|
|
runs-on: ubuntu-latest
|
|
needs:
|
|
- "build"
|
|
steps:
|
|
- name: Mark the job as successful
|
|
run: exit 0
|
|
if: success()
|
|
- name: Mark the job as unsuccessful
|
|
run: exit 1
|
|
if: "!success()"
|