Created
July 24, 2020 12:45
-
-
Save Blisto91/321183a740d99949d50f751512666ae8 to your computer and use it in GitHub Desktop.
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: CI | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [macOS-latest, windows-latest, ubuntu-latest] | |
include: | |
- os: macos-latest | |
FEATURES: metal | |
- os: windows-latest | |
FEATURES: vulkan | |
- os: ubuntu-latest | |
FEATURES: vulkan | |
steps: | |
- uses: actions/checkout@v2 | |
- name: install linux deps | |
run: | | |
sudo apt update | |
sudo apt install gcc pkg-config openssl libasound2-dev cmake build-essential python3 libfreetype6-dev libexpat1-dev libxcb-composite0-dev libssl-dev libx11-dev | |
if: contains(matrix.os, 'ubuntu') | |
- name: install stable toolchain | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
components: clippy | |
profile: minimal | |
override: true | |
- name: Run tests | |
run: cargo test --features=${{matrix.FEATURES}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment