mirror of
https://github.com/BurntSushi/ripgrep.git
synced 2025-05-19 09:40:22 -07:00
ci: get GitHub Actions running again
Basically, matrix.os needs to be defined for every build. We were commenting out some of the builds in order to debug CI in the `include` section, but we also need to comment them out in the `build section.
This commit is contained in:
parent
4858267f3b
commit
8cb7271b64
25
.github/workflows/ci.yml
vendored
25
.github/workflows/ci.yml
vendored
@ -5,7 +5,7 @@ on:
|
|||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
schedule:
|
schedule:
|
||||||
cron: '00 01 * * *'
|
- cron: '00 01 * * *'
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
name: test
|
name: test
|
||||||
@ -16,19 +16,19 @@ jobs:
|
|||||||
# include directive, but it result in a "matrix must define at least
|
# include directive, but it result in a "matrix must define at least
|
||||||
# one vector" error in the CI system.
|
# one vector" error in the CI system.
|
||||||
build:
|
build:
|
||||||
- pinned-glibc
|
# - pinned-glibc
|
||||||
- pinned-musl
|
- pinned-musl
|
||||||
- stable
|
- stable
|
||||||
- beta
|
# - beta
|
||||||
# We test musl with nightly because every once in a while, this will
|
# We test musl with nightly because every once in a while, this will
|
||||||
# catch an upstream regression.
|
# catch an upstream regression.
|
||||||
- nightly-glibc
|
# - nightly-glibc
|
||||||
- nightly-musl
|
# - nightly-musl
|
||||||
- macos
|
# - macos
|
||||||
- win-msvc-32
|
# - win-msvc-32
|
||||||
- win-msvc-64
|
# - win-msvc-64
|
||||||
- win-gnu-32
|
# - win-gnu-32
|
||||||
- win-gnu-64
|
# - win-gnu-64
|
||||||
include:
|
include:
|
||||||
# - build: pinned-glibc
|
# - build: pinned-glibc
|
||||||
# os: ubuntu-18.04
|
# os: ubuntu-18.04
|
||||||
@ -88,9 +88,12 @@ jobs:
|
|||||||
- name: Install musl-gcc
|
- name: Install musl-gcc
|
||||||
if: contains(matrix.target, 'musl')
|
if: contains(matrix.target, 'musl')
|
||||||
run: |
|
run: |
|
||||||
apt-get install musl-tools
|
sudo apt-get install musl-tools
|
||||||
- name: Build everything
|
- name: Build everything
|
||||||
run: cargo build --verbose --target ${{ matrix.target }} --all --features pcre2
|
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
|
- name: Test zsh auto-completions
|
||||||
if: matrix.build == 'stable'
|
if: matrix.build == 'stable'
|
||||||
run: ./ci/test_complete.sh
|
run: ./ci/test_complete.sh
|
||||||
|
Loading…
x
Reference in New Issue
Block a user