Skip to content
Merged

cgo #21

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
7 changes: 5 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,15 @@ jobs:
runs-on: windows-latest
strategy:
matrix:
goarch: [amd64, arm64]
goarch: [amd64]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Build
shell: pwsh
env:
GOARCH: ${{ matrix.goarch }}
CGO_ENABLED: 1
run: |
go build -o queryx.exe cmd/queryx/main.go
tar zcvf queryx_${{ github.ref_name }}_windows_${{ matrix.goarch }}.tar.gz ./*.md LICENSE queryx.exe
Expand All @@ -34,13 +35,14 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
goarch: [amd64, arm64]
goarch: [amd64]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Build
env:
GOARCH: ${{ matrix.goarch }}
CGO_ENABLED: 1
run: |
go build -o queryx cmd/queryx/main.go
tar zcvf queryx_${{ github.ref_name }}_linux_${{ matrix.goarch }}.tar.gz ./*.md LICENSE queryx
Expand All @@ -64,6 +66,7 @@ jobs:
- name: Build
env:
GOARCH: ${{ matrix.goarch }}
CGO_ENABLED: 1
run: |
go build -o queryx cmd/queryx/main.go
tar zcvf queryx_${{ github.ref_name }}_darwin_${{ matrix.goarch }}.tar.gz ./*.md LICENSE queryx
Expand Down