Skip to content

Commit

Permalink
ci: get GitHub Actions running again
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jclem authored and BurntSushi committed Sep 11, 2019
1 parent 4858267 commit 8cb7271
Showing 1 changed file with 14 additions and 11 deletions.
25 changes: 14 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
branches:
- master
schedule:
cron: '00 01 * * *'
- cron: '00 01 * * *'
jobs:
test:
name: test
Expand All @@ -16,19 +16,19 @@ jobs:
# include directive, but it result in a "matrix must define at least
# one vector" error in the CI system.
build:
- pinned-glibc
# - pinned-glibc
- pinned-musl
- stable
- beta
# - 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
# - 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
Expand Down Expand Up @@ -88,9 +88,12 @@ jobs:
- name: Install musl-gcc
if: contains(matrix.target, 'musl')
run: |
apt-get install musl-tools
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
Expand Down

0 comments on commit 8cb7271

Please sign in to comment.