CI: Update various depencencies #189
Workflow file for this run
This file contains hidden or 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: | |
| macos-mysql80: | |
| runs-on: macos-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: "Install dependencies" | |
| run: | | |
| brew install cpanminus [email protected] [email protected] | |
| cpanm DBI | |
| cpanm Devel::CheckLib | |
| cpanm Test::Deep | |
| cpanm Test::More | |
| cpanm Test::Pod | |
| - name: "Run build" | |
| run: | | |
| export PATH="/usr/local/opt/[email protected]/bin:/opt/homebrew/opt/[email protected]/bin:/opt/homebrew/opt/[email protected]/bin:$PATH" | |
| perl Makefile.PL --testhost=127.0.0.1 --testuser=root | |
| make | |
| - name: "Start MySQL" | |
| run: | | |
| brew services start [email protected] | |
| - name: "Run test" | |
| run: make test | |
| macos-mysql84: | |
| runs-on: macos-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: "Install dependencies" | |
| run: | | |
| brew install cpanminus [email protected] [email protected] | |
| cpanm DBI | |
| cpanm Devel::CheckLib | |
| cpanm Test::Deep | |
| cpanm Test::More | |
| cpanm Test::Pod | |
| - name: "Run build" | |
| run: | | |
| export PATH="/usr/local/opt/[email protected]/bin:/opt/homebrew/opt/[email protected]/bin:/opt/homebrew/opt/[email protected]/bin:$PATH" | |
| export LDFLAGS="-L$(brew --prefix openssl@3)/lib -L$(brew --prefix zstd)/lib" | |
| export CFLAGS="-I$(brew --prefix openssl@3)/include -I$(brew --prefix zstd)/include" | |
| export LIBRARY_PATH="$LIBRARY_PATH:$(brew --prefix zstd)/lib:$(brew --prefix openssl@3)/lib" | |
| perl Makefile.PL --testhost=127.0.0.1 --testuser=root | |
| make | |
| - name: "Start MySQL" | |
| run: | | |
| brew services start [email protected] | |
| - name: "Run test" | |
| run: make test | |
| macos-mysql-latest: | |
| runs-on: macos-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: "Install dependencies" | |
| run: | | |
| brew install cpanminus mysql mysql-client | |
| cpanm DBI | |
| cpanm Devel::CheckLib | |
| cpanm Test::Deep | |
| cpanm Test::More | |
| cpanm Test::Pod | |
| - name: "Run build" | |
| run: | | |
| export PATH="/usr/local/opt/mysql/bin:/opt/homebrew/opt/mysql-client/bin:/opt/homebrew/opt/mysql/bin:$PATH" | |
| export LDFLAGS="-L$(brew --prefix openssl@3)/lib -L$(brew --prefix zstd)/lib" | |
| export CFLAGS="-I$(brew --prefix openssl@3)/include -I$(brew --prefix zstd)/include" | |
| export LIBRARY_PATH="$LIBRARY_PATH:$(brew --prefix zstd)/lib:$(brew --prefix openssl@3)/lib" | |
| perl Makefile.PL --testhost=127.0.0.1 --testuser=root | |
| make | |
| - name: "Start MySQL and run test" | |
| run: | | |
| brew services start mysql | |
| sleep 30 | |
| lsof -i -P | grep LISTEN | |
| make test |