diff options
author | Karel Miko <karel.miko@gmail.com> | 2023-10-02 14:16:30 +0200 |
---|---|---|
committer | Karel Miko <karel.miko@gmail.com> | 2023-10-02 14:16:30 +0200 |
commit | 452b1cc880995c6dbf3d5fe3804f62a92add4310 (patch) | |
tree | f8d554143b17b09835b93d893cad7ec5fea43ce1 | |
parent | b743663fb1ef3bc13bcb0e43881ef8704c872e95 (diff) |
tuning github actions
-rw-r--r-- | .github/workflows/01-main-tests.yml (renamed from .github/workflows/combined.yml) | 2 | ||||
-rw-r--r-- | .github/workflows/02-bsd-tests.yml | 41 |
2 files changed, 42 insertions, 1 deletions
diff --git a/.github/workflows/combined.yml b/.github/workflows/01-main-tests.yml index b27f38be..0f0b3449 100644 --- a/.github/workflows/combined.yml +++ b/.github/workflows/01-main-tests.yml @@ -1,4 +1,4 @@ -name: combined +name: 01-main-tests on: push: diff --git a/.github/workflows/02-bsd-tests.yml b/.github/workflows/02-bsd-tests.yml new file mode 100644 index 00000000..1887e2a0 --- /dev/null +++ b/.github/workflows/02-bsd-tests.yml @@ -0,0 +1,41 @@ +name: 02-bsd-tests + +on: + push: + branches: + - '*' + tags-ignore: + - '*' + pull_request: + +jobs: + BSDs: + runs-on: macos-latest + + strategy: + fail-fast: false + matrix: + os: + - name: freebsd + version: '13.0' + pkginstall: pkg install -y p5-ExtUtils-MakeMaker + - name: openbsd + version: '7.1' + pkginstall: pkg_add p5-ExtUtils-MakeMaker + + steps: + - uses: actions/checkout@main + with: + submodules: recursive + - name: Test on ${{ matrix.os.name }} + uses: cross-platform-actions/action@master + with: + operating_system: ${{ matrix.os.name }} + version: ${{ matrix.os.version }} + shell: bash + run: | + sudo ${{ matrix.os.pkginstall }} + curl -L https://cpanmin.us | sudo perl - --verbose --notest --installdeps --with-configure --with-develop . + perl Makefile.PL + make + prove -wlvmb t |