123456789101112131415161718192021222324252627282930313233 |
- name: harvey
- on: [push, pull_request]
- jobs:
- build:
- runs-on: ubuntu-latest
- defaults:
- run:
- working-directory: build
- steps:
- - uses: actions/checkout@v2
- - name: install deps
- run: |
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y # see https://wiki.ubuntu.com/ToolChain
- sudo apt-get update
- sudo apt-get install -y rc qemu go-dep qemu-utils expect qemu-system-x86
- go get harvey-os.org/cmd/ufs
- - name: install source we build into the image
- run: |
- git clone --depth 1 --branch go1.16.6 https://github.com/golang/go.git
- cd go/src
- GOOS=plan9 GOARCH=amd64 ./make.bash
- - name: bootstrap and run
- env:
- ARCH: amd64
- OS: linux
- run: |
- # ensure there is a go directory in the image
- # not needed for long
- mkdir -p ../go
- ~/go/bin/ufs -root .. -user glenda &
- bash command.bash # run a command
|