Skip to content

Commit

Permalink
Fix workflows file
Browse files Browse the repository at this point in the history
  • Loading branch information
rushilmehra committed Jun 20, 2024
1 parent 7b48b74 commit d388ac4
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,6 @@ jobs:
version: "12.0.0"
directory: ${{ runner.temp }}/llvm
- name: Install golang
uses: actions/checkout@v4
uses: actions/setup-go@v5
with:
go-version: '>=1.22.0'
Expand Down Expand Up @@ -310,16 +309,18 @@ jobs:
- name: Install Rust (rustup)
run: rustup update stable --no-self-update && rustup default stable && rustup target add ${{ matrix.target }}
shell: bash
- name: Install Clang-12
uses: KyleMayes/install-llvm-action@v1
- name: Install golang
uses: actions/setup-go@v5
with:
version: "12.0.0"
directory: ${{ runner.temp }}/llvm
go-version: '>=1.22.0'
- name: Install clang12
run: brew install llvm@12
- name: Add clang++-12 link
working-directory: ${{ runner.temp }}/llvm/bin
run: ln -s clang clang++-12
run: ln -s clang /opt/homebrew/opt/llvm@12/bin/clang++
- name: Install ${{ matrix.target }} toolchain
run: brew tap messense/macos-cross-toolchains && brew install ${{ matrix.target }}
- name: Check clang version
run: clang --version
- name: Set BORING_BSSL_FIPS_COMPILER_EXTERNAL_TOOLCHAIN
run: echo "BORING_BSSL_FIPS_COMPILER_EXTERNAL_TOOLCHAIN=$(brew --prefix ${{ matrix.target }})/toolchain" >> $GITHUB_ENV
shell: bash
Expand Down

0 comments on commit d388ac4

Please sign in to comment.