1
0
mirror of https://github.com/BurntSushi/ripgrep.git synced 2025-08-04 21:52:54 +02:00

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