Skip to content

Commit

Permalink
Skip bazel build test for now
Browse files Browse the repository at this point in the history
  • Loading branch information
syrusakbary authored Feb 19, 2020
1 parent 821d826 commit 351f772
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,14 @@ jobs:
run: |
export PATH="$HOME/.cargo/bin:$PATH"
just test
- name: Test bazel build
shell: bash
run: |
export GOOS=$(go env GOHOSTOS)
curl -LO "https://github.com/bazelbuild/bazelisk/releases/download/v1.2.1/bazelisk-${GOOS}-amd64"
mkdir -p "${GITHUB_WORKSPACE}/bin/"
mv "bazelisk-${GOOS}-amd64" "${GITHUB_WORKSPACE}/bin/bazel"
chmod +x "${GITHUB_WORKSPACE}/bin/bazel"
"${GITHUB_WORKSPACE}/bin/bazel" build //...
# Skipped for now because of Github banning the API request from actions.
# You can find more info in this PR: https://github.com/wasmerio/go-ext-wasm/pull/118#issuecomment-588487544
# - name: Test bazel build
# shell: bash
# run: |
# export GOOS=$(go env GOHOSTOS)
# curl -LO "https://github.com/bazelbuild/bazelisk/releases/download/v1.2.1/bazelisk-${GOOS}-amd64"
# mkdir -p "${GITHUB_WORKSPACE}/bin/"
# mv "bazelisk-${GOOS}-amd64" "${GITHUB_WORKSPACE}/bin/bazel"
# chmod +x "${GITHUB_WORKSPACE}/bin/bazel"
# "${GITHUB_WORKSPACE}/bin/bazel" build //...

0 comments on commit 351f772

Please sign in to comment.