Skip to content

Commit

Permalink
GH CI: Update homebrew erlang path for macos
Browse files Browse the repository at this point in the history
  • Loading branch information
alanz committed Apr 26, 2024
1 parent a0751fb commit b9ead60
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ jobs:
java-version: '17'
distribution: 'graalvm'
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Set up SBT
uses: olafurpg/setup-scala@v11
with:
java-version: '17'
- name: Set up rust toolchain
uses: dtolnay/rust-toolchain@stable
with:
Expand All @@ -66,7 +70,7 @@ jobs:
run: brew install erlang@${{ matrix.brew-otp-version }}
- name: Add erl to path (MacOS Only)
if: matrix.os == 'macos'
run: "echo '/usr/local/opt/erlang@${{ matrix.brew-otp-version }}/bin' >> $GITHUB_PATH"
run: "echo '/opt/homebrew/opt/erlang@${{ matrix.brew-otp-version }}/bin' >> $GITHUB_PATH"
- name: Verify Erlang version
run: erl -eval 'erlang:display(erlang:system_info(otp_release)), halt().' -noshell
- name: Install rebar3
Expand Down Expand Up @@ -95,7 +99,7 @@ jobs:
name: elp-${{ matrix.os }}-${{ matrix.target }}-otp-${{ matrix.otp-version }}
path: target/${{ matrix.target}}/release/elp
- name: Test eqwalizer
working-directory: eqwalizer
working-directory: eqwalizer/eqwalizer
run: 'sbt test'
- name: Upload eqwalizer native binary
uses: "actions/upload-artifact@v3"
Expand Down

0 comments on commit b9ead60

Please sign in to comment.