Skip to content

Commit

Permalink
Merge pull request #274 from cfergeau/ghactions
Browse files Browse the repository at this point in the history
ghactions: Misc cleanups
  • Loading branch information
openshift-merge-robot authored Sep 22, 2023
2 parents 4c6193e + b1731b1 commit b4d0fa9
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
jobs:

build:
runs-on: ubuntu-20.04
runs-on: ubuntu-20.04 # explicitly use 20.04, see commit 428c40018a
timeout-minutes: 30
steps:
- uses: actions/checkout@v3
Expand All @@ -20,15 +20,17 @@ jobs:
go-version: 1.20.x

- name: Build
run: make cross qemu-wrapper vm
run: |
make cross qemu-wrapper vm win-gvproxy win-sshproxy
mv bin/gvproxy.exe bin/gvproxy-windowsgui.exe
- uses: actions/upload-artifact@v3
with:
name: gvisor-tap-vsock-binaries
path: bin/*

tests:
runs-on: macos-11 # Only Mac runners support nested virt
runs-on: macos-latest # Only Mac runners support nested virt
needs: build # Don't bother testing if cross arch build fails
timeout-minutes: 30
steps:
Expand Down Expand Up @@ -65,7 +67,7 @@ jobs:
go-version: 1.20.x

- name: Build
run: go build -ldflags -H=windowsgui -o bin/win-sshproxy.exe ./cmd/win-sshproxy
run: make win-sshproxy

- name: Test
run: go test -v .\test-win-sshproxy
Expand Down

0 comments on commit b4d0fa9

Please sign in to comment.