Skip to content

Commit

Permalink
πŸ’š add build release
Browse files Browse the repository at this point in the history
  • Loading branch information
AbdelStark committed Oct 20, 2023
1 parent 9eee30a commit d55d484
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 1 deletion.
24 changes: 24 additions & 0 deletions .github/workflows/build_release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Build release mode

on:
push:
branches: [main]
pull_request:
workflow_dispatch:

jobs:
build-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Set up Zig
uses: korandoru/setup-zig@v1
with:
zig-version: master

- name: Build ReleaseFast
run: |
zig build -Doptimize=ReleaseFast
echo "Binary size:"
du -h ./zig-out/bin/cairo-zig
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml β†’ .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Lint and test
name: Test

on:
push:
Expand Down
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,15 @@
<h1 align="center">cairo-zig</h1>
</p>

<div align="center">
<br />

[![GitHub Workflow Status](https://github.com/abdelhamidbakhta/cairo-zig/actions/workflows/test.yml/badge.svg)](https://github.com/abdelhamidbakhta/cairo-zig/actions/workflows/test.yml)
[![Project license](https://img.shields.io/github/license/abdelhamidbakhta/cairo-zig.svg?style=flat-square)](LICENSE)
[![Pull Requests welcome](https://img.shields.io/badge/PRs-welcome-ff69b4.svg?style=flat-square)](https://github.com/abdelhamidbakhta/cairo-zig/issues?q=is%3Aissue+is%3Aopen+label%3A%22help+wanted%22)

</div>

> _Note that `cairo-zig` is still experimental. Breaking changes will be made before the first stable release. The library is also NOT audited or reviewed for security at the moment. Use at your own risk._
## TODOs
Expand Down

0 comments on commit d55d484

Please sign in to comment.