Browse Source

fix macos filename, use https

pull/174/head
Pat Hickey 5 years ago
parent
commit
5933c205df
  1. 6
      .github/workflows/main.yml

6
.github/workflows/main.yml

@ -34,8 +34,8 @@ jobs:
- name: Install clang (MacOS) - name: Install clang (MacOS)
shell: bash shell: bash
run: | run: |
curl -sSf http://releases.llvm.org/9.0.0/clang+llvm-9.0.0-x86_64-apple-darwin.tar.xz | tar xJf - curl -sSf http://releases.llvm.org/9.0.0/clang+llvm-9.0.0-x86_64-darwin-apple.tar.xz | tar xJf -
export CLANG_DIR=`pwd`/clang+llvm-9.0.0-x86_64-apple-darwin/bin export CLANG_DIR=`pwd`/clang+llvm-9.0.0-x86_64-darwin-apple/bin
echo "::add-path::$CLANG_DIR" echo "::add-path::$CLANG_DIR"
echo "::set-env name=WASM_CC::$CLANG_DIR/clang" echo "::set-env name=WASM_CC::$CLANG_DIR/clang"
if: matrix.os == 'macos-latest' if: matrix.os == 'macos-latest'
@ -43,7 +43,7 @@ jobs:
- name: Install clang (Linux) - name: Install clang (Linux)
shell: bash shell: bash
run: | run: |
curl -sSf http://releases.llvm.org/9.0.0/clang+llvm-9.0.0-x86_64-linux-gnu-ubuntu-16.04.tar.xz | tar xJf - curl -sSf https://releases.llvm.org/9.0.0/clang+llvm-9.0.0-x86_64-linux-gnu-ubuntu-16.04.tar.xz | tar xJf -
export CLANG_DIR=`pwd`/clang+llvm-9.0.0-x86_64-linux-gnu-ubuntu-16.04/bin export CLANG_DIR=`pwd`/clang+llvm-9.0.0-x86_64-linux-gnu-ubuntu-16.04/bin
echo "::add-path::$CLANG_DIR" echo "::add-path::$CLANG_DIR"
echo "::set-env name=WASM_CC::$CLANG_DIR/clang" echo "::set-env name=WASM_CC::$CLANG_DIR/clang"

Loading…
Cancel
Save