aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/compile.yml14
1 files changed, 7 insertions, 7 deletions
diff --git a/.github/workflows/compile.yml b/.github/workflows/compile.yml
index 865c748..333d8ee 100644
--- a/.github/workflows/compile.yml
+++ b/.github/workflows/compile.yml
@@ -7,19 +7,19 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Install packages
- run: sudo apt install -y opam zlib1g-dev pkg-config libgmp-dev z3 device-tree-compiler
+ run: sudo apt install -y --no-install-recommends zlib1g-dev pkg-config libgmp-dev curl
- name: Check out repository code
uses: actions/checkout@HEAD
with:
submodules: true
- name: Ensure pre-commit checks pass
- run: pip install pre-commit && pre-commit run --all-files --show-diff-on-failure --color=always
- - name: Init opam
- run: opam init --disable-sandboxing -y
- - name: Install sail
- run: opam install -y sail
+ run: python3 -m pip install pre-commit && pre-commit run --all-files --show-diff-on-failure --color=always
+ - name: Install sail from binary
+ run: |
+ sudo mkdir -p /usr/local
+ curl --location https://github.com/rems-project/sail/releases/download/0.18-linux-binary/sail.tar.gz | sudo tar xvz --directory=/usr/local --strip-components=1
- name: Build and test simulators
- run: eval $(opam env) && test/run_tests.sh
+ run: test/run_tests.sh
- name: Upload test results
if: always()
uses: actions/upload-artifact@v4