sudo -u builder make tests
- openindiana:
- name: "openindiana-${{ matrix.target }}"
- if: github.repository != 'openssh/openssh-portable-selfhosted'
- strategy:
- fail-fast: false
- matrix:
- target:
- - "202510"
- config: [default]
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@main
- - name: autoreconf
- run: sh -c autoreconf
-
- - name: start OpenIndiana ${{ matrix.target }} VM
- uses: vmactions/openindiana-vm@v0
- with:
- release: ${{ matrix.target }}
- usesh: true
- prepare: |
- set -x
- pfexec pkg install build-essential
- pfexec pkg install sudo
- useradd -m builder
- sed -e "s/^root.*ALL$/root ALL=(ALL) NOPASSWD: ALL/" /etc/sudoers >>/tmp/sudoers
- mv /tmp/sudoers /etc/sudoers
- echo "builder ALL=(ALL) NOPASSWD: ALL" >>/etc/sudoers
- mkdir -p /var/empty /usr/local/etc
- cp $GITHUB_WORKSPACE/moduli /usr/local/etc/moduli
-
- - name: set file perms
- shell: openindiana {0}
- run: cd $GITHUB_WORKSPACE && chown -R builder .
- - name: configure
- shell: openindiana {0}
- run: cd $GITHUB_WORKSPACE && sudo -u builder ./configure --without-openssl
- - name: make clean
- shell: openindiana {0}
- run: cd $GITHUB_WORKSPACE && sudo -u builder make clean
- - name: make
- shell: openindiana {0}
- run: cd $GITHUB_WORKSPACE && sudo -u builder make
- - name: make tests
- shell: openindiana {0}
- run: |
- cd $GITHUB_WORKSPACE
- sudo -u builder make t-exec
-
-
openbsd:
name: "openbsd-${{ matrix.target }}"
if: github.repository != 'openssh/openssh-portable-selfhosted'