Install #91
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |