forked from woelper/oculante
-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (35 loc) · 1.25 KB
/
check_netbsd_default_features.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Check NetBSD
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