Skip to content

Install

Install #91

Workflow file for this run

name: Install
on:
push:
tags:
- '*'
schedule:
- cron: '0 0 * * 0'
workflow_dispatch:
jobs:
ci-install-linux-amd64:
runs-on: ubuntu-latest
steps:
- name: Test
run: |
cd $GITHUB_WORKSPACE
mkdir "foo bar"
cd "foo bar"
(DIR=Sireum && export SIREUM_V=master && 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)
export SIREUM_HOME="$GITHUB_WORKSPACE/foo bar/Sireum"
cd ..
git clone https://github.com/sireum/logika-examples.git "logika examples"
"$SIREUM_HOME/bin/sireum" proyek ive "logika examples"
"logika examples/bin/verify.cmd"
ci-install-macos-arm64:
runs-on: macOS-latest
steps:
- name: Test
run: |
cd $GITHUB_WORKSPACE
mkdir "foo bar"
cd "foo bar"
(DIR=Sireum && export SIREUM_V=master && 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)
export SIREUM_HOME="$GITHUB_WORKSPACE/foo bar/Sireum"
cd ..
git clone https://github.com/sireum/logika-examples.git "logika examples"
"$SIREUM_HOME/bin/sireum" proyek ive "logika examples"
"logika examples/bin/verify.cmd"
ci-install-macos-amd64:
runs-on: macOS-13
steps:
- name: Test
run: |
cd $GITHUB_WORKSPACE
mkdir "foo bar"
cd "foo bar"
(DIR=Sireum && export SIREUM_V=master && 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)
export SIREUM_HOME="$GITHUB_WORKSPACE/foo bar/Sireum"
cd ..
git clone https://github.com/sireum/logika-examples.git "logika examples"
"$SIREUM_HOME/bin/sireum" proyek ive "logika examples"
"logika examples/bin/verify.cmd"
ci-install-windows-amd64:
runs-on: windows-latest
steps:
- name: Test
shell: cmd
run: |
cd %GITHUB_WORKSPACE%
md "foo bar"
cd "foo bar"
cmd /V /C "set DIR=Sireum&& set SIREUM_V=master&& (if exist !DIR! rd /S /Q !DIR!) && md !DIR!\bin && cd !DIR!\bin && curl -JLso init.bat https://raw.githubusercontent.com/sireum/kekinian/!SIREUM_V!/bin/init.bat && init.bat"
set SIREUM_HOME=%GITHUB_WORKSPACE%\foo bar\Sireum
cd ..
git clone https://github.com/sireum/logika-examples.git "logika examples"
"%SIREUM_HOME%\bin\sireum.bat" proyek ive "logika examples"
"logika examples\bin\verify.cmd"