Skip to content

ci: force openssl@3 formula upgrades #405

ci: force openssl@3 formula upgrades

ci: force openssl@3 formula upgrades #405

Workflow file for this run

name: Tests
on:
push:
paths-ignore:
- 'docs/**'
- '*.hcl'
- '*.md'
- '*.yml'
jobs:
macos-tests:
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v4
# TODO: Remove openssl@3 upgrade cmd after 20240422.3 is no longer the latest
# macos-14-arm64 image
- name: Install crystal and tool dependencies
run: |
brew install crystal meson openssl@3
brew upgrade openssl@3
- name: Install dependencies
run: shards install
- name: Run lint
run: make lint
- name: Run tests
run: make test STATIC=1
ubuntu-tests:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Add Crystal repos
run: curl -sSL https://crystal-lang.org/install.sh | sudo bash
- name: Install crystal and tool dependencies
run: |
sudo apt install -y crystal libevent-dev libpcre2-dev libssl-dev ninja-build
sudo apt purge meson
sudo pip3 install meson
- name: Install dependencies
run: shards install
- name: Run lint
run: make lint
- name: Run tests
run: make test