Skip to content

Commit

Permalink
comment linux macos
Browse files Browse the repository at this point in the history
  • Loading branch information
igor-sirotin committed May 14, 2024
1 parent 1e68d06 commit 2c97096
Showing 1 changed file with 42 additions and 41 deletions.
83 changes: 42 additions & 41 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,44 +10,44 @@ jobs:

# TODO: rewrite with matrix?

macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.20'

- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
with:
distribution: goreleaser
args: build --clean --snapshot --config=ci/.goreleaser-darwin.yml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Install compiler
run: sudo apt-get -y install gcc-aarch64-linux-gnu

- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.20'

- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
with:
distribution: goreleaser
args: build --clean --snapshot --config=ci/.goreleaser-linux.yml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# macos:
# runs-on: macos-latest
# steps:
# - uses: actions/checkout@v4
#
# - name: Set up Go
# uses: actions/setup-go@v5
# with:
# go-version: '1.20'
#
# - name: Run GoReleaser
# uses: goreleaser/goreleaser-action@v5
# with:
# distribution: goreleaser
# args: build --clean --snapshot --config=ci/.goreleaser-darwin.yml
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
#
# linux:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
#
# - name: Install compiler
# run: sudo apt-get -y install gcc-aarch64-linux-gnu
#
# - name: Set up Go
# uses: actions/setup-go@v5
# with:
# go-version: '1.20'
#
# - name: Run GoReleaser
# uses: goreleaser/goreleaser-action@v5
# with:
# distribution: goreleaser
# args: build --clean --snapshot --config=ci/.goreleaser-linux.yml
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

windows:
runs-on: windows-latest
Expand All @@ -68,11 +68,12 @@ jobs:
shell: msys2 {0}
run: |
pacman -S --noconfirm mingw-w64-x86_64-dlfcn
if exist C:/mingw64/lib (
if [ -e "C:/mingw64/lib" ]
then
echo "<<< dlfcn FOUND"
) else (
else
echo "<<< dlfcn not found"
)
fi
# - name: Print
# run: |
Expand Down

0 comments on commit 2c97096

Please sign in to comment.