Skip to content

Commit

Permalink
Remove automated release
Browse files Browse the repository at this point in the history
  • Loading branch information
ringtailsoftware committed Dec 16, 2024
1 parent 54e7995 commit 10a9f4b
Showing 1 changed file with 54 additions and 54 deletions.
108 changes: 54 additions & 54 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,57 +28,57 @@ jobs:
run: zig build
working-directory: commy

build:
strategy:
matrix:
os: [ubuntu-latest]
runs-on: ${{matrix.os}}
steps:
- name: Checkout commy
uses: actions/checkout@v2
with:
path: commy
- name: Setup Zig
uses: goto-bus-stop/setup-zig@v1
with:
version: 0.13.0

- name: Build x86_64-windows
working-directory: commy
run: mkdir -p bin && zig build -Dgit_commit=commit/$(git rev-parse HEAD) -Doptimize=ReleaseSmall -Dtarget=x86_64-windows && cp zig-out/bin/commy.exe bin/commy-x86_64-windows.exe

- name: Build x86_64-macos
working-directory: commy
run: mkdir -p bin && zig build -Dgit_commit=commit/$(git rev-parse HEAD) -Doptimize=ReleaseSmall -Dtarget=x86_64-macos && cp zig-out/bin/commy bin/commy-x86_64-macos

- name: Build x86_64-linux
working-directory: commy
run: mkdir -p bin && zig build -Dgit_commit=commit/$(git rev-parse HEAD) -Doptimize=ReleaseSmall -Dtarget=x86_64-linux && cp zig-out/bin/commy bin/commy-x86_64-linux

- name: Build x86-linux
working-directory: commy
run: mkdir -p bin && zig build -Dgit_commit=commit/$(git rev-parse HEAD) -Doptimize=ReleaseSmall -Dtarget=x86-linux && cp zig-out/bin/commy bin/commy-x86-linux

- name: Build aarch64-windows
working-directory: commy
run: mkdir -p bin && zig build -Dgit_commit=commit/$(git rev-parse HEAD) -Doptimize=ReleaseSmall -Dtarget=aarch64-windows && cp zig-out/bin/commy.exe bin/commy-aarch64-windows.exe

- name: Build aarch64-linux
working-directory: commy
run: mkdir -p bin && zig build -Dgit_commit=commit/$(git rev-parse HEAD) -Doptimize=ReleaseSmall -Dtarget=aarch64-linux && cp zig-out/bin/commy bin/commy-aarch64-linux

- name: Build aarch64-macos
working-directory: commy
run: mkdir -p bin && zig build -Dgit_commit=commit/$(git rev-parse HEAD) -Doptimize=ReleaseSmall -Dtarget=aarch64-macos && cp zig-out/bin/commy bin/commy-aarch64-macos

- name: upload
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ github.ref }}
file: commy/bin/*
file_glob: true
asset_name: windows
overwrite: true
body: "Latest binaries"

# build:
# strategy:
# matrix:
# os: [ubuntu-latest]
# runs-on: ${{matrix.os}}
# steps:
# - name: Checkout commy
# uses: actions/checkout@v2
# with:
# path: commy
# - name: Setup Zig
# uses: goto-bus-stop/setup-zig@v1
# with:
# version: 0.13.0
#
# - name: Build x86_64-windows
# working-directory: commy
# run: mkdir -p bin && zig build -Dgit_commit=commit/$(git rev-parse HEAD) -Doptimize=ReleaseSmall -Dtarget=x86_64-windows && cp zig-out/bin/commy.exe bin/commy-x86_64-windows.exe
#
# - name: Build x86_64-macos
# working-directory: commy
# run: mkdir -p bin && zig build -Dgit_commit=commit/$(git rev-parse HEAD) -Doptimize=ReleaseSmall -Dtarget=x86_64-macos && cp zig-out/bin/commy bin/commy-x86_64-macos
#
# - name: Build x86_64-linux
# working-directory: commy
# run: mkdir -p bin && zig build -Dgit_commit=commit/$(git rev-parse HEAD) -Doptimize=ReleaseSmall -Dtarget=x86_64-linux && cp zig-out/bin/commy bin/commy-x86_64-linux
#
# - name: Build x86-linux
# working-directory: commy
# run: mkdir -p bin && zig build -Dgit_commit=commit/$(git rev-parse HEAD) -Doptimize=ReleaseSmall -Dtarget=x86-linux && cp zig-out/bin/commy bin/commy-x86-linux
#
# - name: Build aarch64-windows
# working-directory: commy
# run: mkdir -p bin && zig build -Dgit_commit=commit/$(git rev-parse HEAD) -Doptimize=ReleaseSmall -Dtarget=aarch64-windows && cp zig-out/bin/commy.exe bin/commy-aarch64-windows.exe
#
# - name: Build aarch64-linux
# working-directory: commy
# run: mkdir -p bin && zig build -Dgit_commit=commit/$(git rev-parse HEAD) -Doptimize=ReleaseSmall -Dtarget=aarch64-linux && cp zig-out/bin/commy bin/commy-aarch64-linux
#
# - name: Build aarch64-macos
# working-directory: commy
# run: mkdir -p bin && zig build -Dgit_commit=commit/$(git rev-parse HEAD) -Doptimize=ReleaseSmall -Dtarget=aarch64-macos && cp zig-out/bin/commy bin/commy-aarch64-macos
#
# - name: upload
# uses: svenstaro/upload-release-action@v2
# with:
# repo_token: ${{ secrets.GITHUB_TOKEN }}
# tag: ${{ github.ref }}
# file: commy/bin/*
# file_glob: true
# asset_name: windows
# overwrite: true
# body: "Latest binaries"
#

0 comments on commit 10a9f4b

Please sign in to comment.