This repository has been archived by the owner on Oct 8, 2024. It is now read-only.
fix: save full command #202
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build + Tests | ||
on: | ||
push: | ||
branches: ["main"] | ||
pull_request: | ||
branches: ["main"] | ||
env: | ||
CARGO_TERM_COLOR: always | ||
jobs: | ||
build: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [windows-latest, ubuntu-latest, macos-latest] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up Rust | ||
uses: actions-rs/toolchain@v1 | ||
with: | ||
toolchain: stable | ||
override: true | ||
- name: Install deps on Windows | ||
if: runner.os == "Windows" | ||
Check failure on line 27 in .github/workflows/rust.yml GitHub Actions / Build + TestsInvalid workflow file
|
||
run: | | ||
vcpkg install openssl:x64-windows-static-md | ||
- name: Install Deps On Linux | ||
if: runner.os == 'Linux' | ||
run: | | ||
sudo apt-get install libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev | ||
- name: Build | ||
run: cargo build --verbose | ||
- name: Run tests | ||
run: cargo test --verbose |