ci: disable github actions for now

The CI build failures are annoying and distracting. Hopefully soon I'll
be able to invest more time in the switch.
This commit is contained in:
Andrew Gallant
2020-01-09 21:16:47 -05:00
parent 837fb5e21f
commit 0fb3f6a159

View File

@@ -9,93 +9,100 @@ on:
jobs: jobs:
test: test:
name: test name: test
runs-on: ${{ matrix.os }} runs-on: ubuntu-18.04
strategy:
matrix:
# The docs seem to suggest that we can have a matrix with just an
# include directive, but it result in a "matrix must define at least
# one vector" error in the CI system.
build:
# - pinned-glibc
- pinned-musl
- stable
# - beta
# We test musl with nightly because every once in a while, this will
# catch an upstream regression.
# - nightly-glibc
# - nightly-musl
# - macos
# - win-msvc-32
# - win-msvc-64
# - win-gnu-32
# - win-gnu-64
include:
# - build: pinned-glibc
# os: ubuntu-18.04
# rust: 1.34.0
# target: x86_64-unknown-linux-gnu
- build: pinned-musl
os: ubuntu-18.04
rust: 1.34.0
target: x86_64-unknown-linux-musl
- build: stable
os: ubuntu-18.04
rust: stable
target: x86_64-unknown-linux-gnu
# - build: beta
# os: ubuntu-18.04
# rust: beta
# target: x86_64-unknown-linux-gnu
# - build: nightly-glibc
# os: ubuntu-18.04
# rust: nightly
# target: x86_64-unknown-linux-gnu
# - build: nightly-musl
# os: ubuntu-18.04
# rust: nightly
# target: x86_64-unknown-linux-musl
# - build: macos
# os: macOS-10.14
# rust: stable
# target: x86_64-apple-darwin
# - build: win-msvc-32
# os: windows-2019
# rust: stable
# target: i686-pc-windows-msvc
# - build: win-msvc-64
# os: windows-2019
# rust: stable
# target: x86_64-pc-windows-msvc
# - build: win-gnu-32
# os: windows-2019
# rust: stable-i686-gnu
# target: i686-pc-windows-gnu
# - build: win-gnu-64
# os: windows-2019
# rust: stable-x86_64-gnu
# target: x86_64-pc-windows-gnu
steps: steps:
- name: Checkout repository - name: no-op
uses: actions/checkout@v1 run: echo hello
with:
fetch-depth: 1 # test:
- name: Install Rust # name: test
uses: hecrj/setup-rust-action@v1 # runs-on: ${{ matrix.os }}
with: # strategy:
rust-version: ${{ matrix.rust }} # matrix:
- name: Install Rust Target # # The docs seem to suggest that we can have a matrix with just an
run: rustup target add ${{ matrix.target }} # # include directive, but it result in a "matrix must define at least
- name: Install musl-gcc # # one vector" error in the CI system.
if: contains(matrix.target, 'musl') # build:
run: | # # - pinned-glibc
sudo apt-get install musl-tools # - pinned-musl
- name: Build everything # - stable
run: cargo build --verbose --target ${{ matrix.target }} --all --features pcre2 # # - beta
- name: Install zsh # # We test musl with nightly because every once in a while, this will
if: matrix.build == 'stable' # # catch an upstream regression.
run: sudo apt-get install zsh # # - nightly-glibc
- name: Test zsh auto-completions # # - nightly-musl
if: matrix.build == 'stable' # # - macos
run: ./ci/test_complete.sh # # - win-msvc-32
- name: Run tests # # - win-msvc-64
run: cargo test --verbose --target ${{ matrix.target }} --all --features pcre2 # # - win-gnu-32
# # - win-gnu-64
# include:
# # - build: pinned-glibc
# # os: ubuntu-18.04
# # rust: 1.34.0
# # target: x86_64-unknown-linux-gnu
# - build: pinned-musl
# os: ubuntu-18.04
# rust: 1.34.0
# target: x86_64-unknown-linux-musl
# - build: stable
# os: ubuntu-18.04
# rust: stable
# target: x86_64-unknown-linux-gnu
# # - build: beta
# # os: ubuntu-18.04
# # rust: beta
# # target: x86_64-unknown-linux-gnu
# # - build: nightly-glibc
# # os: ubuntu-18.04
# # rust: nightly
# # target: x86_64-unknown-linux-gnu
# # - build: nightly-musl
# # os: ubuntu-18.04
# # rust: nightly
# # target: x86_64-unknown-linux-musl
# # - build: macos
# # os: macOS-10.14
# # rust: stable
# # target: x86_64-apple-darwin
# # - build: win-msvc-32
# # os: windows-2019
# # rust: stable
# # target: i686-pc-windows-msvc
# # - build: win-msvc-64
# # os: windows-2019
# # rust: stable
# # target: x86_64-pc-windows-msvc
# # - build: win-gnu-32
# # os: windows-2019
# # rust: stable-i686-gnu
# # target: i686-pc-windows-gnu
# # - build: win-gnu-64
# # os: windows-2019
# # rust: stable-x86_64-gnu
# # target: x86_64-pc-windows-gnu
# steps:
# - name: Checkout repository
# uses: actions/checkout@v1
# with:
# fetch-depth: 1
# - name: Install Rust
# uses: hecrj/setup-rust-action@v1
# with:
# rust-version: ${{ matrix.rust }}
# - name: Install Rust Target
# run: rustup target add ${{ matrix.target }}
# - name: Install musl-gcc
# if: contains(matrix.target, 'musl')
# run: |
# sudo apt-get install musl-tools
# - name: Build everything
# run: cargo build --verbose --target ${{ matrix.target }} --all --features pcre2
# - name: Install zsh
# if: matrix.build == 'stable'
# run: sudo apt-get install zsh
# - name: Test zsh auto-completions
# if: matrix.build == 'stable'
# run: ./ci/test_complete.sh
# - name: Run tests
# run: cargo test --verbose --target ${{ matrix.target }} --all --features pcre2