test tmate on failure #3
Workflow file for this run
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: macOS | |
on: [push] | |
jobs: | |
build: | |
strategy: | |
matrix: | |
os: [macos-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build and test | |
run: | | |
brew install fpc md5sha1sum | |
git clone --depth 1 --branch 2.1.6 https://github.com/tebe6502/Mad-Assembler mads | |
fpc -Mdelphi -vh -O3 -omads/mads mads/mads.pas | |
export PATH=$PATH:`pwd`/mads | |
make -j`sysctl -n hw.ncpu` test | |
- name: Setup tmate session | |
if: ${{ failure() }} | |
uses: mxschmitt/action-tmate@v3 |