Skip to content

Run ninja build before tests #5470

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 26, 2022
Merged
Changes from all commits
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
18 changes: 11 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,17 @@ jobs:
env:
RESCRIPT_FORCE_REBUILD: 1

- name: ninja config
if: runner.os != 'Windows'
run: opam exec -- node ./scripts/ninja.js config

- name: ninja build
if: runner.os != 'Windows'
run: opam exec -- node ./scripts/ninja.js build

- name: Check for changes in lib folder
run: git diff --exit-code lib/js lib/es6

- name: Run tests
if: runner.os != 'Windows'
run: opam exec -- node scripts/ciTest.js -all
Expand All @@ -65,13 +76,6 @@ jobs:
if: runner.os == 'Windows'
run: opam exec -- node scripts/ciTest.js -mocha -theme

- name: Ensure lib/js and lib/es6 are up to date
if: runner.os != 'Windows'
run: |
opam exec -- node ./scripts/ninja.js config
opam exec -- node ./scripts/ninja.js build
git diff --exit-code lib/js lib/es6

- name: Get artifact info
id: get_artifact_info
run: node .github/workflows/get_artifact_info.js
Expand Down