Skip to content

Commit

Permalink
Attempt to fix the CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
fraggerfox committed Feb 22, 2024
1 parent a50f2ad commit f716b7b
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions .github/workflows/continuous-build-netbsd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,18 +45,20 @@ jobs:
release: '9.3'
usesh: true
prepare: |
PATH="/usr/pkg/sbin:/usr/pkg/bin:$PATH"
PKG_PATH="https://cdn.NetBSD.org/pub/pkgsrc/packages"
export PATH="/usr/pkg/sbin:/usr/pkg/bin:$PATH"
export PKG_PATH="https://cdn.NetBSD.org/pub/pkgsrc/packages/NetBSD/amd64/9.3/All/"
PKG_PATH="$PKG_PATH/NetBSD/amd64/9.3/All/"
export PATH PKG_PATH
pkg_add pkgin
pkgin install -y gmake gcc-10 coreutils git
git config --global --add safe.directory /home/runner/work/btop/btop
run: |
gmake CXX=/usr/pkg/gcc10/bin/g++ STATIC=true STRIP=true
GIT_HASH=$(git rev-parse --short "$GITHUB_SHA")
mv bin/btop bin/btop-GCC10-"$GIT_HASH"
ls -alh bin
ls -la /usr/bin /bin /sbin /usr/sbin
/usr/sbin/pkg_add pkgin
#pkgin install -y gmake gcc-10 coreutils git
#git config --global --add safe.directory /home/runner/work/btop/btop
#run: |
# gmake CXX=/usr/pkg/gcc10/bin/g++ STATIC=true STRIP=true
# GIT_HASH=$(git rev-parse --short "$GITHUB_SHA")
# mv bin/btop bin/btop-GCC10-"$GIT_HASH"
# ls -alh bin

- uses: actions/upload-artifact@v3
with:
Expand Down

0 comments on commit f716b7b

Please sign in to comment.