From d65109e0f62e8c23386fd4f43a265706bf61ab1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20Cichoci=C5=84ski?= Date: Sat, 5 Oct 2019 22:51:34 +0200 Subject: [PATCH] ci: fix mismatched binaries versions --- .github/workflows/pipeline.yml | 10 ++++++---- .github/workflows/release.yml | 14 ++++++++------ 2 files changed, 14 insertions(+), 10 deletions(-) diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml index 4a570166..92d73d01 100644 --- a/.github/workflows/pipeline.yml +++ b/.github/workflows/pipeline.yml @@ -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 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 95be0d43..2224ae1b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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