-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
👵 mommy tries the old method one more time~
- Loading branch information
Showing
2 changed files
with
12 additions
and
14 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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" | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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::" | ||
|
@@ -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::" | ||
|