Skip to content

GHA: try Orbstack 1.5.1 cask #250

GHA: try Orbstack 1.5.1 cask

GHA: try Orbstack 1.5.1 cask #250

Workflow file for this run

name: Tests
on: [push]
jobs:
test:
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-20.04
- os: ubuntu-22.04
- os: ubuntu-24.04
- os: macos-13
- os: macos-14
- os: macos-15
runs-on: ${{ matrix.os }}
steps:
- name: Setup Linux requirements
if: runner.os == 'Linux'
run: |
sudo apt update --yes
sudo apt install libnss3-tools
- name: Set up macOS requirements
if: runner.os == 'macOS'
uses: Homebrew/actions/setup-homebrew@master
- name: Install and start Orbstack
if: runner.os == 'macOS'
run: |
brew install --cask [email protected]
orb
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Show debug info
run: |
make debug
make ping
- name: Start up Stonehenge
run: make up
- name: Ping docker.so should resolve to 127.0.0.1 now
run: make ping
- name: Check that DNS works when curling Google. Expecting HTTP/2 200
run: curl -Is https://www.google.com | head -1
- name: Check if Traefik can be accessed from traefik.docker.so
run: |
printf "CURL traefik.docker.so for checking access starts"
until curl -s "https://traefik.docker.so/dashboard/#/" | grep -o "<title>Traefik[^<]*" | tail -c+8; do true; done > /dev/null
printf "CURL traefik.docker.so for checking access ends"
- name: Tear down Stonehenge
run: make down
- name: Turn off Orbstack
if: runner.os == 'macOS'
run: orb stop
- name: Clean up Homebrew
if: runner.os == 'macOS'
continue-on-error: true
run: |
brew update
brew autoremove
brew cleanup