Smallfix #57
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: tests | |
on: [push] | |
jobs: | |
linux-docker: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [centos7, ubuntu_22.04] | |
runs-on: [ubuntu-24.04] | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
persist-credentials: false | |
- run: | | |
cp Dockerfile.${{ matrix.os }} Dockerfile | |
docker build --tag sta-${{ matrix.os }} . | |
- run: | | |
docker run --entrypoint /bin/bash --tty --rm sta-${{ matrix.os }} -c "cd /OpenSTA/test && ./regression || (cat results/diffs && exit 1)" | |
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 | |
export PATH="$(brew --prefix flex)/bin:$PATH" | |
export PATH="$(brew --prefix bison)/bin:$PATH" | |
export PATH="$(brew --prefix tcl-tk)/bin:$PATH" | |
make | |
sudo make install | |
- run: | | |
cd test | |
./regression || (cat results/diffs && exit 1) |