Skip to content

Commit

Permalink
ci: fix mismatched binaries versions
Browse files Browse the repository at this point in the history
  • Loading branch information
baransu committed Oct 5, 2019
1 parent 83a3da1 commit d65109e
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 10 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,20 +23,22 @@ jobs:
- name: setup
run: |
npm install -g esy@latest cross-env
# OCaml 4.06 and BuckleScript 6
- name: install-build
run: |
esy install && esy b
- name: test-native
run: |
esy b dune runtest -f
- name: test-bsb5
- name: test-bsb6
run: |
cd tests_bucklescript && node ./run.js bsb5
cd tests_bucklescript && node ./run.js bsb6
# OCaml 4.02 and BuckleScript 5
- name: install-build @402
run: |
esy @402 install && esy @402 b
- name: test-bsb6
- name: test-bsb5
run: |
cd tests_bucklescript && node ./run.js bsb6
cd tests_bucklescript && node ./run.js bsb5
env:
CI: true
14 changes: 8 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,30 +23,32 @@ jobs:
- name: setup
run: |
npm install -g esy@latest cross-env
# OCaml 4.06 and BuckleScript 6
- name: install-build
run: |
esy install && esy b
- name: test-native
run: |
esy b dune runtest -f
- name: test-bsb5
- name: test-bsb6
run: |
cd tests_bucklescript && node ./run.js bsb5
cd tests_bucklescript && node ./run.js bsb6
- name: Upload artifacts ${{ matrix.os }}
uses: actions/upload-artifact@master
with:
name: ${{ matrix.os }}
name: ${{ matrix.os }}-bsb6
path: _build/default/src/bucklescript_bin/bin.exe
# OCaml 4.02 and BuckleScript 5
- name: install-build @402
run: |
esy @402 install && esy @402 b
- name: test-bsb6
- name: test-bsb5
run: |
cd tests_bucklescript && node ./run.js bsb6
cd tests_bucklescript && node ./run.js bsb5
- name: Upload artifacts ${{ matrix.os }}
uses: actions/upload-artifact@master
with:
name: ${{ matrix.os }}-bsb6
name: ${{ matrix.os }}
path: _build/default/src/bucklescript_bin/bin.exe
env:
CI: true
Expand Down

0 comments on commit d65109e

Please sign in to comment.