Skip to content

Commit

Permalink
Try to build all variant in release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
kenshaw committed Oct 28, 2023
1 parent 4be566e commit 45c3c42
Showing 1 changed file with 32 additions and 32 deletions.
64 changes: 32 additions & 32 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,44 +46,44 @@ jobs:
# name: dist-linux-${{ matrix.arch }}
# path: build/linux/*/*/usql*.tar.bz2

# build_for_macos:
# name: Build for MacOS
# runs-on: macos-latest
# strategy:
# matrix:
# arch: [amd64, arm64]
# steps:
# - name: Install build dependencies
# run: brew install coreutils
# - name: Checkout
# uses: actions/checkout@v3
# - name: Setup Go
# uses: actions/setup-go@v4
# with:
# go-version: ${{ env.GO_VERSION }}
# - name: Build amd64
# run: ./build-release.sh -r -a ${{ matrix.arch }}
build_for_macos:
name: Build for MacOS
runs-on: macos-latest
strategy:
matrix:
arch: [amd64, arm64]
steps:
- name: Install build dependencies
run: brew install coreutils
- name: Checkout
uses: actions/checkout@v3
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: ${{ env.GO_VERSION }}
- name: Build amd64
run: ./build-release.sh -r -a ${{ matrix.arch }}
# - name: Archive artifacts
# uses: actions/upload-artifact@v3
# with:
# name: dist-darwin-${{ matrix.arch }}
# path: build/darwin/*/*/usql*.tar.bz2

# build_for_windows:
# name: Build for Windows
# runs-on: windows-latest
# steps:
# - name: Install build dependencies
# run: choco install zip
# - name: Checkout
# uses: actions/checkout@v3
# - name: Setup Go
# uses: actions/setup-go@v4
# with:
# go-version: ${{ env.GO_VERSION }}
# - name: Build amd64
# shell: bash
# run: ./build-release.sh -r
build_for_windows:
name: Build for Windows
runs-on: windows-latest
steps:
- name: Install build dependencies
run: choco install zip
- name: Checkout
uses: actions/checkout@v3
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: ${{ env.GO_VERSION }}
- name: Build amd64
shell: bash
run: ./build-release.sh -r
# - name: Archive artifacts
# uses: actions/upload-artifact@v3
# with:
Expand Down

0 comments on commit 45c3c42

Please sign in to comment.