Skip to content

Commit

Permalink
Updated CI.yml and readme.md.
Browse files Browse the repository at this point in the history
  • Loading branch information
robby-phd committed Oct 19, 2023
1 parent e984c06 commit 4ad63d8
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
uses: actions/checkout@v4
with:
submodules: recursive
- name: Verify
- name: Test
run: |
(DIR=kekinian && SIREUM_V=master && export SIREUM_NO_SETUP=true && rm -fR $DIR && mkdir -p $DIR/bin && cd $DIR/bin && curl -JLso init.sh https://raw.githubusercontent.com/sireum/kekinian/$SIREUM_V/bin/init.sh && bash init.sh)
SIREUM_HOME=`pwd`/kekinian bin/test.cmd
17 changes: 16 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ truth tables.
sireum proyek assemble --jar logika-upgrader --uber --main Upgrader logika-upgrader
```

2. Run the batch file:
2. Run the batch file (assuming Java is in the PATH env var):

* On **macOS/Linux**:

Expand All @@ -49,6 +49,21 @@ truth tables.
The last `auto` option should used for programming logic Auto or SymExe Logika v3 mode (by default
the upgrader detects auto mode by determining whether `auto` or `symexe` is in the (lower-cased) `<input>` path.
If Java is not in the PATH env var, you can run it as follows:
* On **macOS/Linux**:
```sh
$JAVA_HOME/bin/java -jar out/logika-upgrader/assemble/logika-upgrader.jar.bat
```
* On **Windows**:
```cmd
%JAVA_HOME%\bin\java.exe -jar out\logika-upgrader\assemble\logika-upgrader.jar.bat
```
## Test
Execute [bin/test.cmd](bin/test.cmd) to run the upgrader on https://github.com/sireum/v3-logika-examples to see
Expand Down

0 comments on commit 4ad63d8

Please sign in to comment.