Skip to content

Add support for linux #48

Add support for linux

Add support for linux #48

Workflow file for this run

on:
pull_request:
branches: "main"
jobs:
test_captain:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
include:
- name: captain
version: "1.11.7"
os: macos-12 # intel
- name: captain
version: "1.11.7"
os: macos-14 # arm
- name: captain
version: "1.11.7"
os: ubuntu-latest
- name: captain@1
version: "1.11.7"
os: macos-12 # intel
- name: captain@1
version: "1.11.7"
os: macos-14 # arm
- name: captain@1
version: "1.11.7"
os: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install captain & run it
run: |
set -o pipefail
! command -v captain
brew install ./Formula/${{ matrix.name }}.rb 2>&1 | tee install-output.txt
captain --version | grep ${{ matrix.version }}
- name: Ensure the integrity was verified
run: '! grep "Cannot verify integrity of" install-output.txt'