Skip to content

Commit

Permalink
Upgrade tests a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
akashlevy committed Sep 10, 2024
1 parent 63a5ae5 commit 5072c02
Showing 1 changed file with 21 additions and 3 deletions.
24 changes: 21 additions & 3 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,11 @@ name: tests
on: [push]

jobs:
tests:
docker:
strategy:
fail-fast: false
matrix:
os: [centos7, ubuntu_18.04]

runs-on: [ubuntu-24.04]
timeout-minutes: 10
steps:
Expand All @@ -18,4 +17,23 @@ jobs:
cp Dockerfile.${{ matrix.os }} Dockerfile
docker build --tag sta-${{ matrix.os }} .
- run: |
docker run --entrypoint /bin/bash --tty --rm sta-${{ matrix.os }} -c "/OpenSTA/test/regression; cat /OpenSTA/test/results/diffs"
docker run --entrypoint /bin/bash --tty --rm sta-${{ matrix.os }} -c "cd /OpenSTA/test && ./regression || { [ -f results/diffs ] && cat results/diffs }"
macos:
runs-on: [macos-14]
timeout-minutes: 5
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- run: brew bundle
- run: |
cmake -S . -B build
cd build
make
sudo make install
- run: |
cd test
./regression || {
[ -f results/diffs ] && cat results/diffs
}

0 comments on commit 5072c02

Please sign in to comment.