Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
melsman committed Dec 9, 2024
1 parent 3f5e32a commit 38c7790
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,17 @@ jobs:
echo "$HOME/mlkit-bin-dist-${{env.OS}}/bin" >> $GITHUB_PATH
mkdir -p .mlkit
echo "SML_LIB $HOME/mlkit-bin-dist-${{env.OS}}/lib/mlkit" > .mlkit/mlb-path-map
$HOME/mlkit-bin-dist-${{env.OS}}/bin/mlkit --version
- name: Install MLton and MLKit (macos)
if: ${{ env.OS == 'darwin' }}
- name: Install MLKit (macos)
if: ${{ env.OS == 'darwin' && matrix.mlcomp == 'mlkit' }}
run: |
brew install mlkit
mlkit --version
- name: Install MLton (macos)
if: ${{ env.OS == 'darwin' && matrix.mlcomp == 'mlton' }}
run: |
brew install mlton
mlton
Expand All @@ -60,11 +66,7 @@ jobs:
wget https://github.com/diku-dk/smlpkg/releases/download/v0.1.5/smlpkg-bin-dist-${{env.OS}}.tgz
tar xzf smlpkg-bin-dist-${{env.OS}}.tgz
echo "$HOME/smlpkg-bin-dist-${{env.OS}}/bin" >> $GITHUB_PATH
- name: Check
run: |
mlkit --version
smlpkg --version
$HOME/smlpkg-bin-dist-${{env.OS}}/bin/smlpkg --version
- name: Build
run: MLCOMP=${{ matrix.mlcomp }} make clean all
Expand Down

0 comments on commit 38c7790

Please sign in to comment.