Skip to content

Commit

Permalink
👵 mommy tries the old method one more time~
Browse files Browse the repository at this point in the history
  • Loading branch information
FWDekker committed Jan 12, 2024
1 parent 39ffde0 commit 30ebef6
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 14 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,16 +126,15 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: Install fpm && Build package
uses: cross-platform-actions/[email protected]
uses: vmactions/netbsd-vm@v1
with:
operating_system: netbsd
version: "9.3"
run: |
usesh: true
prepare: |
set -e
export PATH="/usr/sbin:$PATH" # Add 'pkg_*' commands to path
echo "::group::Install basic packages"
sudo pkgin -y in git gmake mozilla-rootcerts-openssl
pkg_add git gmake mozilla-rootcerts-openssl
echo "::endgroup::"
echo "::group::Ignore ownership issues"
Expand Down
17 changes: 8 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -434,27 +434,26 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: Test script and package
uses: cross-platform-actions/[email protected]
uses: vmactions/netbsd-vm@v1
with:
operating_system: netbsd
version: "9.3"
run: |
usesh: true
prepare: |
set -e
export PATH="/usr/sbin:$PATH" # Add 'pkg_*' commands to path
export MOMMY_ZSH_SKIP=1 # zsh completion capturing totally does not work~
echo "::group::Install basic packages"
sudo pkgin -y in git gmake mozilla-rootcerts-openssl
pkg_add git gmake mozilla-rootcerts-openssl
echo "::endgroup::"
echo "::group::Install ShellSpec"
git clone --depth=1 https://github.com/shellspec/shellspec.git /tmp/shellspec/
sudo gmake -C /tmp/shellspec/ install
gmake -C /tmp/shellspec/ install
rm -rf /tmp/shellspec
echo "::endgroup::"
echo "::group::Install additional shells"
sudo pkgin -y in fish zsh
pkg_add fish zsh
touch "$HOME/.zshrc"
echo "::endgroup::"
Expand All @@ -471,15 +470,15 @@ jobs:
echo "::endgroup::"
echo "::group::Install package"
sudo pkg_add ./dist/mommy-*+netbsd.tgz
pkg_add ./dist/mommy-*+netbsd.tgz
echo "::endgroup::"
echo "::group::Test package"
MOMMY_SYSTEM=1 gmake test
echo "::endgroup::"
echo "::group::Uninstall package"
sudo pkg_delete mommy
pkg_delete mommy
echo "::endgroup::"
Expand Down

0 comments on commit 30ebef6

Please sign in to comment.