1
0
Fork 0
mirror of https://github.com/DBD-SQLite/DBD-SQLite synced 2025-06-07 14:19:10 -04:00

Add yaml files for windows and mac

This commit is contained in:
Kenichi Ishigaki 2020-01-18 10:46:34 +09:00
parent 35902ff85a
commit 07367324c5
2 changed files with 52 additions and 0 deletions

24
.github/workflows/build_mac.yml vendored Normal file
View file

@ -0,0 +1,24 @@
name: build_mac
on:
push:
branches:
- '*'
tags-ignore:
- '*'
pull_request:
jobs:
perl:
runs-on: macOS-latest
steps:
- uses: actions/checkout@master
- name: perl -V
run: perl -V
- name: Install dependencies with develop
run: curl -sL https://git.io/cpm | perl - install -g --with-recommends --with-test --with-configure --with-develop --show-build-log-on-failure
- name: Run Makefile.PL
run: perl Makefile.PL
- name: Run tests
run: make && make test

28
.github/workflows/build_windows.yml vendored Normal file
View file

@ -0,0 +1,28 @@
name: build_windows
on:
push:
branches:
- '*'
tags-ignore:
- '*'
pull_request:
jobs:
perl:
runs-on: windows-latest
steps:
- uses: actions/checkout@master
- name: Set up Perl
run: |
choco install strawberryperl
echo "##[add-path]C:\strawberry\c\bin;C:\strawberry\perl\site\bin;C:\strawberry\perl\bin"
- name: perl -V
run: perl -V
- name: Install dependencies with develop
run: curl -sL https://git.io/cpm | perl - install -g --with-recommends --with-test --with-configure --with-develop --show-build-log-on-failure
- name: Run Makefile.PL
run: perl Makefile.PL
- name: Run tests
run: gmake test