Skip to content

rename jobs

rename jobs #2

name: NetBSD check with default features
on: [push]
jobs:
test:
runs-on: macos-12
name: Build in NetBSD with default features
steps:
- uses: actions/checkout@v2
- name: Build in NetBSD
id: testnet
uses: vmactions/netbsd-vm@v0
with:
mem: 4096
usesh: true
copyback: false
prepare: |
# pkg_add curl pkg-config cmake openssl libX11 fontconfig freetype2 gdk-pixbuf2 cairo pango atk glib2 gtk3+ libXrender x11-links libxcb
# gtk3 and libX11 seem to be missing ^^
# PKG_PATH="http://cdn.NetBSD.org/pub/pkgsrc/packages/NetBSD/$(uname -p)/$(uname -r|cut -f '1 2' -d.)/All/"
# export PKG_PATH
# pkg_add pkgin
# pkgin -y install curl pkg-config cmake openssl libX11 fontconfig freetype2 gdk-pixbuf2 cairo pango atk glib2 gtk3+ libXrender x11-links libxcb
# pkgin search gtk3
# curl https://sh.rustup.rs -sSf | sh -s -- -y --profile minimal
pkg_add modular-xorg
echo X11_TYPE=modular > /etc/mk.conf
cd /usr/pkgsrc/meta-pkgs/modular-xorg
make install
ls /usr
ls /usr/bin | grep ssl
run: |
ls
# PATH=$HOME/.cargo/bin:$PATH
# export PATH
# cargo check