mirror of
https://github.com/charmbracelet/lipgloss.git
synced 2024-10-26 22:57:49 +03:00
chore(ci): test for different GOOS & GOARCH
This commit is contained in:
parent
2fe044adcb
commit
e3596ae70d
19
.github/workflows/build.yml
vendored
19
.github/workflows/build.yml
vendored
@ -26,3 +26,22 @@ jobs:
|
|||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
run: go test ./...
|
run: go test ./...
|
||||||
|
|
||||||
|
test-goos:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- uses: actions/setup-go@v5
|
||||||
|
with:
|
||||||
|
cache: true
|
||||||
|
# https://go.dev/doc/install/source#environment
|
||||||
|
- run: GOOS=darwin GOARCH=amd64 go test -c -v ./...
|
||||||
|
- run: GOOS=darwin GOARCH=arm64 go test -c -v ./...
|
||||||
|
- run: GOOS=linux GOARCH=386 go test -c -v ./...
|
||||||
|
- run: GOOS=linux GOARCH=amd64 go test -c -v ./...
|
||||||
|
- run: GOOS=linux GOARCH=arm go test -c -v ./...
|
||||||
|
- run: GOOS=linux GOARCH=arm64 go test -c -v ./...
|
||||||
|
- run: GOOS=windows GOARCH=amd64 go test -c -v ./...
|
||||||
|
- run: GOOS=windows GOARCH=386 go test -c -v ./...
|
||||||
|
- run: GOOS=windows GOARCH=arm go test -c -v ./...
|
||||||
|
- run: GOOS=windows GOARCH=arm64 go test -c -v ./...
|
||||||
|
Loading…
Reference in New Issue
Block a user