mirror of
https://github.com/DBD-SQLite/DBD-SQLite
synced 2025-06-07 06:08:38 -04:00
Add yaml files for windows and mac
This commit is contained in:
parent
35902ff85a
commit
07367324c5
2 changed files with 52 additions and 0 deletions
24
.github/workflows/build_mac.yml
vendored
Normal file
24
.github/workflows/build_mac.yml
vendored
Normal 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
28
.github/workflows/build_windows.yml
vendored
Normal 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
|
Loading…
Add table
Reference in a new issue