@@ -88,6 +88,32 @@ jobs: |
| 88 | # ============================================================================ | 88 | # ============================================================================ |
| 89 | # ARM64 Linux (gfortran) | 89 | # ARM64 Linux (gfortran) |
| 90 | # ============================================================================ | 90 | # ============================================================================ |
| | 91 | + arm64-linux-interactive: |
| | 92 | + name: "ARM64 Linux: Interactive PTY Tests" |
| | 93 | + if: "!contains(github.event.head_commit.message, '[skip-pty]')" |
| | 94 | + runs-on: ubuntu-24.04-arm |
| | 95 | + steps: |
| | 96 | + - uses: actions/checkout@v4 |
| | 97 | + - name: Install gfortran |
| | 98 | + run: sudo apt-get update && sudo apt-get install -y gfortran |
| | 99 | + - name: Set up Python |
| | 100 | + uses: actions/setup-python@v5 |
| | 101 | + with: |
| | 102 | + python-version: '3.12' |
| | 103 | + - name: Build fortsh |
| | 104 | + run: make release |
| | 105 | + - name: Install Python dependencies |
| | 106 | + run: | |
| | 107 | + cd tests/interactive |
| | 108 | + python -m venv .venv |
| | 109 | + source .venv/bin/activate |
| | 110 | + pip install -r requirements.txt |
| | 111 | + - name: Run interactive tests |
| | 112 | + run: | |
| | 113 | + cd tests/interactive |
| | 114 | + source .venv/bin/activate |
| | 115 | + python run_tests.py |
| | 116 | + |
| 91 | arm64-linux-posix: | 117 | arm64-linux-posix: |
| 92 | name: "ARM64 Linux: POSIX Tests" | 118 | name: "ARM64 Linux: POSIX Tests" |
| 93 | runs-on: ubuntu-24.04-arm | 119 | runs-on: ubuntu-24.04-arm |
@@ -186,6 +212,35 @@ jobs: |
| 186 | run: ./tests/builtins/test_stress.sh | 212 | run: ./tests/builtins/test_stress.sh |
| 187 | timeout-minutes: 15 | 213 | timeout-minutes: 15 |
| 188 | | 214 | |
| | 215 | + macos-arm64-interactive: |
| | 216 | + name: "macOS ARM64: Interactive PTY Tests" |
| | 217 | + if: "!contains(github.event.head_commit.message, '[skip-pty]')" |
| | 218 | + runs-on: macos-15 |
| | 219 | + env: |
| | 220 | + FC: flang-new |
| | 221 | + BASH_REF: /opt/homebrew/bin/bash |
| | 222 | + steps: |
| | 223 | + - uses: actions/checkout@v4 |
| | 224 | + - name: Install flang-new and coreutils |
| | 225 | + run: brew install flang coreutils bash |
| | 226 | + - name: Set up Python |
| | 227 | + uses: actions/setup-python@v5 |
| | 228 | + with: |
| | 229 | + python-version: '3.12' |
| | 230 | + - name: Build fortsh |
| | 231 | + run: make release |
| | 232 | + - name: Install Python dependencies |
| | 233 | + run: | |
| | 234 | + cd tests/interactive |
| | 235 | + python -m venv .venv |
| | 236 | + source .venv/bin/activate |
| | 237 | + pip install -r requirements.txt |
| | 238 | + - name: Run interactive tests |
| | 239 | + run: | |
| | 240 | + cd tests/interactive |
| | 241 | + source .venv/bin/activate |
| | 242 | + python run_tests.py |
| | 243 | + |
| 189 | macos-arm64-integration: | 244 | macos-arm64-integration: |
| 190 | name: "macOS ARM64: Integration Tests" | 245 | name: "macOS ARM64: Integration Tests" |
| 191 | runs-on: macos-15 | 246 | runs-on: macos-15 |