Files
client-sdk-rust/.github/workflows/rust.yml
T
Théo MonnomandGitHub 11d5359464 fi ci & windows compilation (#14)
* attempt to fix mac compilation on x86_64

* decompress zip insead of tarball on windows

* attempt to fix 1

* still cache on failure

* attempt 2
2023-01-02 21:47:50 +01:00

34 lines
663 B
YAML

name: Tests & Build
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
strategy:
matrix:
os: [macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
continue-on-error: true
steps:
- name: Install Protoc
uses: arduino/setup-protoc@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/checkout@v3
with:
submodules: true
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose