Skip to content

update in workflows #497

update in workflows

update in workflows #497

Workflow file for this run

name: "NetBSD build"
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
schedule:
- cron: '0 7 * * 2'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Repository checkout
uses: actions/checkout@v3
- name: Test on NetBSD 9.3
uses: cross-platform-actions/action@v0.22.0
with:
operating_system: netbsd
version: '9.3'
shell: bash
run: |
uname -a
whoami
pwd
export PKG_REPOS="http://cdn.NetBSD.org/pub/pkgsrc/packages/NetBSD/$(uname -p)/$(uname -r)/All/"
sudo -E pkgin clean
sudo -E pkgin update
# https://ftp.netbsd.org/pub/pkgsrc/current/pkgsrc/index-all.html
sudo -E pkgin -y install gcc13 automake autoconf autoconf-archive libtool pkgconf cppunit
export CXX=/usr/pkg/gcc13/bin/g++
$CXX --version
autoreconf -v --install --force
./configure --prefix=/usr
make -j10