Skip to content

Commit

Permalink
🔶 mommy uses vm actions again for netbsd~
Browse files Browse the repository at this point in the history
  • Loading branch information
FWDekker committed Apr 28, 2024
1 parent 41458be commit 2e68f83
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 10 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -145,12 +145,11 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install fpm && Build package
uses: cross-platform-actions/action@v0.24.0
- name: Build package
uses: vmactions/openbsd-vm@v1
with:
operating_system: netbsd
version: "10.0"
run: |
usesh: true
prepare: |
set -e
export PATH="/usr/sbin:$PATH" # Add 'pkg_*' commands to path
Expand All @@ -162,6 +161,10 @@ jobs:
git config --global --add safe.directory "$GITHUB_WORKSPACE"
echo "::endgroup::"
run: |
set -e
export PATH="/usr/sbin:$PATH" # Add 'pkg_*' commands to path
echo "::group::Build package"
gmake dist/netbsd
echo "::endgroup::"
Expand Down
13 changes: 8 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -434,14 +434,12 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: Test script and package
uses: cross-platform-actions/action@v0.24.0
uses: vmactions/openbsd-vm@v1
with:
operating_system: netbsd
version: "10.0"
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
Expand All @@ -462,6 +460,11 @@ jobs:
git config --global --add safe.directory "$GITHUB_WORKSPACE"
echo "::endgroup::"
run: |
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::Test script"
gmake test
echo "::endgroup::"
Expand Down

0 comments on commit 2e68f83

Please sign in to comment.