aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorJosh Chen2020-07-16 23:24:34 +0200
committerJosh Chen2020-07-16 23:24:34 +0200
commit61f2b7732c2fb43fa85142286522177cc5d7f2a9 (patch)
treede8ece2e19d6d51972215e83ff96ad55b1e53bdb /.github
parent64a41c356231806c13f6fcbcb165512cbbbc3328 (diff)
try try again
Diffstat (limited to '.github')
-rw-r--r--.github/isabelle-action/Dockerfile9
-rw-r--r--.github/isabelle-action/action.yml4
-rw-r--r--.github/workflows/main.yml2
3 files changed, 8 insertions, 7 deletions
diff --git a/.github/isabelle-action/Dockerfile b/.github/isabelle-action/Dockerfile
index 7c9a182..cb379d6 100644
--- a/.github/isabelle-action/Dockerfile
+++ b/.github/isabelle-action/Dockerfile
@@ -1,15 +1,15 @@
## Isabelle/Pure on Isabelle2020
-FROM ubuntu-latest
+FROM ubuntu
SHELL ["/bin/bash", "-c"]
-# packages
+# Packages
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get -y update && \
apt-get install -y curl less libfontconfig1 libgomp1 libwww-perl rlwrap unzip && \
apt-get clean
-# user
+# User
RUN useradd -m isabelle && (echo isabelle:isabelle | chpasswd)
USER isabelle
@@ -23,5 +23,6 @@ RUN tar xzf Isabelle.tar.gz &&\
Isabelle/bin/isabelle build -o system_heaps -b Pure &&\
rm Isabelle.tar.gz
-ENTRYPOINT ["Isabelle/bin/isabelle"]
+# ENTRYPOINT ["Isabelle/bin/isabelle"]
+ENTRYPOINT [ "sh", "-c", "Isabelle/bin/isabelle $INPUT_TOOL_ARGS" ]
diff --git a/.github/isabelle-action/action.yml b/.github/isabelle-action/action.yml
index 482aead..49c043f 100644
--- a/.github/isabelle-action/action.yml
+++ b/.github/isabelle-action/action.yml
@@ -3,8 +3,8 @@ description: "Build ROOT file"
author: "josh@joshchen.io"
inputs:
- OPTION:
- description: "Options to invoke"
+ TOOL_ARGS:
+ description: "Tool and argument invokation"
required: true
runs:
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 43da8a9..9548ae7 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -9,5 +9,5 @@ jobs:
- uses: actions/checkout@v1
- uses: ./.github/isabelle-action
with:
- OPTION: "build -D ."
+ TOOL_ARGS: "build -D ."