Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't use setup-ocaml@v2 with OCaml 5.2.0~beta2 #778

Closed
aryx opened this issue Apr 17, 2024 · 2 comments
Closed

Can't use setup-ocaml@v2 with OCaml 5.2.0~beta2 #778

aryx opened this issue Apr 17, 2024 · 2 comments

Comments

@aryx
Copy link

aryx commented Apr 17, 2024

Here is an example of failure:
https://github.com/semgrep/semgrep/actions/runs/8725124955/job/23937327085?pr=10119

the workflow file is

# AUTOGENERATED FROM build-test-core-x86-ocaml5.jsonnet DO NOT MODIFY
jobs:
  job:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
        with:
          submodules: true
      - uses: ocaml/setup-ocaml@v2
        with:
          ocaml-compiler: 5.2.0~beta2
      - env:
          SEGMENT_DOWNLOAD_TIMEOUT_MINS: 2
        name: Set GHA cache for OPAM in _opam
        uses: actions/cache@v3
        with:
          key: ${{ runner.os }}-${{ runner.arch }}-opam-deps-5.2.0~beta2-_opam-${{ hashFiles('semgrep.opam') }}
          path: _opam
      - name: Install semgrep dependencies
        run: |
          eval $(opam env)
          sudo make install-deps-UBUNTU-for-semgrep-core
          make install-deps-for-semgrep-core
      - name: Build semgrep
        run: |
          eval $(opam env)
          make
      - name: Test semgrep
        run: |
          echo TODO
name: build-test-core-x86-ocaml5
on:
  pull_request: null
  push:
    branches:
      - develop
  workflow_dispatch: null

and the error in GHA:
image

@aryx
Copy link
Author

aryx commented Apr 17, 2024

seems related to #232

@aryx
Copy link
Author

aryx commented Jun 5, 2024

Closing, 5.2.0 is available anyway now, outside of beta.

@aryx aryx closed this as completed Jun 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant