summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Clem <jclem@github.com>2019-09-11 09:08:24 -0400
committerAndrew Gallant <jamslam@gmail.com>2019-09-11 09:08:24 -0400
commit8cb7271b647f63420530ac04bc13ed8ea7353690 (patch)
tree1fac91fb17cef57c600cbe23bd814e22ccf86806
parent4858267f3b97fe2823d2ce104c1f90ec93eee8d7 (diff)
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.
-rw-r--r--.github/workflows/ci.yml25
1 files changed, 14 insertions, 11 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 023291a6..5597e374 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -5,7 +5,7 @@ on:
branches:
- master
schedule:
- cron: '00 01 * * *'
+ - cron: '00 01 * * *'
jobs:
test:
name: test
@@ -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
@@ -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