1name: run units target on FreeBSD 2 3on: 4 push: 5 branches: [ master ] 6 pull_request: 7 branches: [ master ] 8 9jobs: 10 testing: 11 runs-on: macos-10.15 12 13 strategy: 14 fail-fast: false 15 matrix: 16 freebsd-version: [12,13] 17 18 steps: 19 - uses: actions/checkout@v2 20 21 # https://app.vagrantup.com/boxes/search?utf8=%E2%9C%93&sort=downloads&provider=&q=freebsd 22 # https://github.com/leleliu008/github-actions-vagrant 23 - uses: leleliu008/github-actions-vagrant@v2 24 with: 25 mem: 2048 26 box: generic/freebsd${{ matrix.freebsd-version }} 27 log: debug 28 run: | 29 run pkg install -y automake pkgconf gmake 30 run freebsd-version 31 run cc --version 32 run ./autogen.sh 33 run ./configure --prefix=/usr 34 run gmake 35 run gmake install 36 run file ctags 37 run ctags --version 38 run gmake check CI=gha+vagrant+freebsd 39 run gmake roundtrip CI=gha+vagrant+freebsd 40