Skip to content

CI: replace Wine with Windows #1548

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 18, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 5 additions & 10 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ jobs:
- name: Uninstall
run: sudo make uninstall

cross-windows:
name: "Windows tests (cross)"
runs-on: ubuntu-22.04
windows:
name: "Windows tests"
runs-on: windows-2022
timeout-minutes: 30
steps:
- uses: actions/setup-go@v4
Expand All @@ -60,15 +60,10 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 1
- name: Install wine
run: |
sudo apt-get update
sudo apt-get install -y wine-binfmt wine64
sudo apt-get remove -y mono-runtime || true
- name: Unit tests
run: GOOS=windows GOARCH=amd64 go test -v ./...
run: go test -v ./...
- name: Make
run: make GOOS=windows GOARCH=amd64
run: make

integration:
name: Integration tests
Expand Down