mirror of
https://github.com/ProgramSnail/Lama.git
synced 2025-12-06 06:48:48 +00:00
Fix docker CI
Signed-off-by: Kakadu <Kakadu@pm.me>
This commit is contained in:
parent
aead6095c7
commit
92cc13f1fd
1 changed files with 6 additions and 8 deletions
14
.github/workflows/docker.yml
vendored
14
.github/workflows/docker.yml
vendored
|
|
@ -6,6 +6,7 @@ on:
|
|||
- 'i686-cross'
|
||||
|
||||
env:
|
||||
OPAMROOT: /home/user/.opam
|
||||
OPAMCONFIRMLEVEL: unsafe-yes
|
||||
|
||||
jobs:
|
||||
|
|
@ -13,18 +14,16 @@ jobs:
|
|||
runs-on: ubuntu-24.04
|
||||
container:
|
||||
image: kakadu18/ocaml:lama
|
||||
#options: --user user
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
steps:
|
||||
- run: opam --version
|
||||
- run: opam init --disable-sandboxing -y
|
||||
- run: whoami
|
||||
- run: opam exec -- ocamlopt --version
|
||||
|
||||
- name: Cancel Previous Runs
|
||||
uses: styfle/cancel-workflow-action@0.11.0
|
||||
with:
|
||||
access_token: ${{ github.token }}
|
||||
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
|
|
@ -32,7 +31,6 @@ jobs:
|
|||
opam install . --depext-only --with-test --with-doc
|
||||
opam install . --deps-only --with-test --with-doc
|
||||
|
||||
|
||||
- name: List installed packages
|
||||
run: opam list
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue