Delete some cranelift CI already covered by wasmtime

This commit is contained in:
Alex Crichton
2020-02-25 11:09:47 -08:00
parent 701b419a12
commit 9fe459bf38

View File

@@ -1,22 +1,4 @@
name: CI
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
rustfmt:
name: Rustfmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
with:
submodules: true
- name: Install Rust
run: rustup update stable && rustup default stable && rustup component add rustfmt
- run: cargo fmt -- --check
docs:
name: Build API Docs
runs-on: ubuntu-latest
@@ -32,75 +14,6 @@ jobs:
- run: find ./target/doc -maxdepth 1 -type d -name "cranelift*" | xargs -I{} cargo deadlinks --dir {}
name: Run cargo-deadlinks
test:
name: Test
runs-on: ${{ matrix.os }}
strategy:
matrix:
# first a list of everything we test...
name:
- windows-earliest
- linux-earliest
- mac-earliest
- stable
- beta
- nightly
- windows-release
- linux-release
- mac-release
# .. and then the actual configuration for each thing we test
include:
- name: windows-earliest
os: ubuntu-latest
rust: 1.37.0
- name: linux-earliest
os: ubuntu-16.04
rust: 1.37.0
- name: mac-earliest
os: macos-10.14
rust: 1.37.0
- name: stable
os: macos-latest
rust: stable
- name: beta
os: macos-latest
rust: beta
- name: nightly
os: macos-latest
rust: nightly
- name: mac-release
os: macos-latest
rust: stable
release: --release
- name: linux-release
os: ubuntu-latest
rust: stable
release: --release
- name: windows-release
os: windows-latest
rust: stable
release: --release
steps:
- uses: actions/checkout@v1
with:
submodules: true
- name: Install Rust (rustup)
run: rustup update ${{ matrix.rust }} --no-self-update && rustup default ${{ matrix.rust }}
if: "!startsWith(matrix.os, 'macos-')"
shell: bash
- name: Install Rust (macos)
run: |
curl https://sh.rustup.rs | sh -s -- -y --default-toolchain=${{ matrix.rust }}
echo ::add-path::$HOME/.cargo/bin
if: startsWith(matrix.os, 'macos-')
- run: cargo fetch
- run: cargo build ${{ matrix.release }}
- run: cargo test --all ${{ matrix.release }}
env:
RUST_BACKTRACE: 1
# Ensure fuzzer works by running it with a single input
- run: cargo install cargo-fuzz
if: matrix.rust == 'nightly'