fork/oculante

git clone https://git.julia.blue/fork/oculante

Johann WoelperMerge pull request #464 from woelper/improve_checks6b4d770

0.9.2
1.4 KiB42 linesraw
1name: Check NetBSD
2
3on:
4  push:
5    branches: [ "master" ]
6  pull_request:
7    # The branches below must be a subset of the branches above
8    branches: [ "master" ]
9
10jobs:
11  test:
12    runs-on: ubuntu-latest
13    name: Build in NetBSD with default features
14    steps:
15    - uses: actions/checkout@v4
16    - name: Build in NetBSD
17      id: testnet
18      uses: vmactions/netbsd-vm@v1.1.4
19      with:
20        mem: 4096
21        usesh: true
22        copyback: false
23        prepare: |
24          # pkg_add curl pkg-config cmake openssl libX11 fontconfig freetype2 gdk-pixbuf2 cairo pango atk glib2 gtk3+ libXrender x11-links libxcb
25          # gtk3 and libX11 seem to be missing ^^
26          # PKG_PATH="http://cdn.NetBSD.org/pub/pkgsrc/packages/NetBSD/$(uname -p)/$(uname -r|cut -f '1 2' -d.)/All/"
27          # export PKG_PATH
28          # pkg_add pkgin
29          # pkgin -y install curl pkg-config cmake openssl libX11 fontconfig freetype2 gdk-pixbuf2 cairo pango atk glib2 gtk3+ libXrender x11-links libxcb
30          # pkgin search gtk3
31          # curl https://sh.rustup.rs -sSf | sh -s -- -y --profile minimal
32          pkg_add modular-xorg
33          echo X11_TYPE=modular > /etc/mk.conf
34          cd /usr/pkgsrc/meta-pkgs/modular-xorg
35          make install
36          ls /usr
37          ls /usr/bin | grep ssl
38        run: |
39          ls
40          # PATH=$HOME/.cargo/bin:$PATH
41          # export PATH
42          # cargo check