Tidy build error on Debian bookworm #96
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: CI on MacOS | |
on: [push, pull_request, workflow_dispatch] | |
jobs: | |
test: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: "Install dependencies" | |
run: | | |
brew install cpanminus mysql@8.0 mysql-client@8.0 | |
cpanm DBI | |
cpanm Devel::CheckLib | |
cpanm Test::Deep | |
cpanm Test::More | |
cpanm Test::Pod | |
- name: "Run build" | |
run: | | |
export PATH="/usr/local/opt/mysql@8.0/bin:/opt/homebrew/opt/mysql-client@8.0/bin:/opt/homebrew/opt/mysql@8.0/bin:$PATH" | |
perl Makefile.PL --testhost=127.0.0.1 --testuser=root | |
make | |
- name: "Start MySQL" | |
run: | | |
brew services start mysql@8.0 | |
- name: "Run test" | |
run: make test |