Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fixup! fixup! build: use Ninja in action workflows
put config flags in env
  • Loading branch information
targos committed Feb 24, 2021
commit b7d5022fec819103cc46b3c193a8a5250a283424
8 changes: 3 additions & 5 deletions .github/workflows/build-tarball.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ on:
- v[0-9]+.x

env:
PYTHON_VERSION: 3.9
FLAKY_TESTS: dontcare
CONFIG_FLAGS: --ninja

jobs:
build-tarball:
if: github.event.pull_request.draft == false
env:
PYTHON_VERSION: 3.9
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -39,8 +39,6 @@ jobs:
name: tarballs
path: tarballs
test-tarball-linux:
env:
PYTHON_VERSION: 3.9
needs: build-tarball
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -68,7 +66,7 @@ jobs:
- name: Build
run: |
cd $TAR_DIR
make build-ci -j2 V=1 CONFIG_FLAGS="--ninja"
make build-ci -j2 V=1
- name: Test
run: |
cd $TAR_DIR
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/test-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ on:
env:
PYTHON_VERSION: 3.9
FLAKY_TESTS: dontcare
CONFIG_FLAGS: --error-on-warn --ninja

jobs:
test-linux:
Expand All @@ -28,6 +29,6 @@ jobs:
- name: Environment Information
run: npx envinfo
- name: Build
run: make build-ci -j2 V=1 CONFIG_FLAGS="--error-on-warn --ninja"
run: make build-ci -j2 V=1
- name: Test
run: make run-ci -j2 V=1 TEST_CI_ARGS="-p actions"
3 changes: 2 additions & 1 deletion .github/workflows/test-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ on:
env:
PYTHON_VERSION: 3.9
FLAKY_TESTS: dontcare
CONFIG_FLAGS: --error-on-warn --ninja

jobs:
test-macOS:
Expand All @@ -28,6 +29,6 @@ jobs:
- name: Environment Information
run: npx envinfo
- name: Build
run: make build-ci -j2 V=1 CONFIG_FLAGS="--error-on-warn --ninja"
run: make build-ci -j2 V=1
- name: Test
run: make run-ci -j2 V=1 TEST_CI_ARGS="-p actions"